User Tools

Site Tools


thinkgeo.mapsuite.androidedition.trackinteractiveoverlay

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay

<!– Class –> This class inherits from InterativeOverlay abstract class. This specified overlay describle the TrackShape interative process with MapControl using Mouse or Keyborad.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodTrackInteractiveOverlay Default constructor of the class. If you use this constructor, please set the properties correctly or it will use their default values.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodClose Overlay This method will simulate the Close interaction.
Public MethodDispose Overlay This method dispose unmanaged resource used in this class.
Public MethodDoubleTap InteractionArguments InteractiveOverlay This method will simulate the DoubleTap interaction.
Public MethodDraw MapArguments, OverlayRefreshType Overlay This method draws the overlay with the provided extent in world coordinate.
Public MethodEquals Object Object
Public MethodGetBoundingBox Overlay This method gets a bounding box of the Overlay.
Public MethodGetHashCode Object
Public MethodGetTrackingShape This method gets the current Tracking shape.
Public MethodGetType Object
Public MethodInitialize MapArguments Overlay This method initializes overlay object.
Public MethodLongPress InteractionArguments InteractiveOverlay This method will simulate the LongPress interaction.
Public MethodOpen Overlay This method will simulate the Open interaction.
Public MethodPostTransform TransformArguments, MapArguments Overlay This method will simulate the PostTransform interaction.
Public MethodRefresh Overlay This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.
Public MethodSingleTap InteractionArguments InteractiveOverlay This method will simulate the SingleTap interaction.
Public MethodToString Object
Public MethodTouchDown InteractionArguments InteractiveOverlay This method will simulate the TouchDown interaction.
Public MethodTouchMove InteractionArguments InteractiveOverlay This method will simulate the TouchMove interaction.
Public MethodTouchPointerDown InteractionArguments InteractiveOverlay This method will simulate the TouchPointerDown interaction.
Public MethodTouchUp InteractionArguments InteractiveOverlay This method will simulate the TouchUp interaction.

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodCloseCore Overlay This protected virtual method is the Core method of Close API.
Protected MethodDispose Boolean Overlay(overriden)
Protected MethodDoubleTapCore InteractionArguments InteractiveOverlay This protected virtual method is the Core method of MouseDoubleClick API.
Protected MethodDrawCore MapArguments, OverlayRefreshType Overlay(overriden)
Protected MethodDrawException GeoCanvas, Exception Overlay This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.
Protected MethodDrawExceptionCore GeoCanvas, Exception Overlay This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.
Protected MethodEndTracking This method ends the tracking shape by initialize some variables.
Protected MethodFinalize Object(overriden)
Protected MethodGetBoundingBoxCore Overlay This method returns the bounding box of the Overlay.
Protected MethodGetTrackingShapeCore This is the Core method of GetTrackingShape.You could overrides this method to have your own logic. This method gets the current Tracking shape.
Protected MethodInitializeCore MapArguments Overlay(overriden)
Protected MethodLongPressCore InteractionArguments InteractiveOverlay(overriden) This overrides the MouseDoubleClick logic in its base class InterativeOverlay.
Protected MethodMemberwiseClone Object
Protected MethodOnDrawingException DrawingExceptionOverlayEventArgs Overlay This method raises before the overlay is drawing exception.
Protected MethodOnDrawnException DrawnExceptionOverlayEventArgs Overlay This method raises after the overlay is drawn exception.
Protected MethodOnMouseMoved MouseMovedTrackInteractiveOverlayEventArgs This event will be fired when mouse moved a vertex to the Tracking shape.
Protected MethodOnTrackEnded TrackEndedTrackInteractiveOverlayEventArgs This event will be fired after the end of Tracking a shape.
Protected MethodOnTrackEnding TrackEndingTrackInteractiveOverlayEventArgs This event will be fired before the end of Tracking a shape.
Protected MethodOnTrackStarted TrackStartedTrackInteractiveOverlayEventArgs This event will be fired after the start of Tracking a shape.
Protected MethodOnTrackStarting TrackStartingTrackInteractiveOverlayEventArgs This event will be fired before the start of Tracking a shape.
Protected MethodOnVertexAdded VertexAddedTrackInteractiveOverlayEventArgs This event will be fired after adding a vertex to the Tracking shape.
Protected MethodOnVertexAdding VertexAddingTrackInteractiveOverlayEventArgs This event will be fired before adding a vertex to the Tracking shape.
Protected MethodOpenCore Overlay This protected virtual method is the Core method of Open API.
Protected MethodPostTransformCore TransformArguments, MapArguments Overlay(overriden)
Protected MethodRefreshCore Overlay This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.
Protected MethodSingleTapCore InteractionArguments InteractiveOverlay(overriden) This overrides the MouseClick logic in its base class.
Protected MethodTouchDownCore InteractionArguments InteractiveOverlay(overriden) This overrides the MouseDown logic in its base class InterativeOverlay.
Protected MethodTouchMoveCore InteractionArguments InteractiveOverlay(overriden) This overrides the MouseMove logic in its base class InterativeOverlay.
Protected MethodTouchPointerDownCore InteractionArguments InteractiveOverlay This protected virtual method is the Core method of TouchPointerDown API.
Protected MethodTouchUpCore InteractionArguments InteractiveOverlay(overriden) This overrides the MouseUp logic in its base class InterativeOverlay.

Public Properties

Name Return DeclaringType Summary
Public PropertyAttribution String Overlay Gets or sets the attribution for this overlay.
Public PropertyBitmap Bitmap
Public PropertyDrawingExceptionMode DrawingExceptionMode Overlay This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing.
Public PropertyDrawingQuality DrawingQuality Overlay Gets or sets the drawingQuality for this overlay.
Public PropertyInteractiveView TileView InteractiveOverlay Gets or sets Overlay's the interactiveView.
Public PropertyIsEmpty Boolean Overlay(overriden) This property override the logic in its base class by watching the feature count in trackShapeLayer. If it is empty ,we can skip drawing it for better performance.
Public PropertyIsVisible Boolean Overlay Gets or sets if this overlay is visible.
Public PropertyMapArguments MapArguments Overlay Gets or sets the mapArguments for this overlay.
Public PropertyName String Overlay Gets or sets the name of this overaly.
Public PropertyOpacity Double Overlay Gets or sets the opacity for this overlay.
Public PropertyTrackMode TrackMode Gets a mode of TrackOverlay.
Public PropertyTrackShapeLayer InMemoryFeatureLayer This property gets the TrackShape layers which holds the track shapes.
Public PropertyVertexCountInQuarter Int32

Protected Properties

Name Return DeclaringType Summary
Protected PropertyIsInTracking Boolean This property gets or sets to sign that if there is any shape being tracking.
Protected PropertyVertices Collection<Vertex> This property gets the vertices to make up the track shape. This is a protected property which probablly need to be used in its sub classes.

Public Events

Name Event Arguments DeclaringType Summary
Public EventDrawingException DrawingExceptionOverlayEventArgs Overlay Occurs before exception is drawing on map.
Public EventDrawnException DrawnExceptionOverlayEventArgs Overlay Occurs after exception is drawn on map.
Public EventMouseMoved MouseMovedTrackInteractiveOverlayEventArgs This event will be fired when mouse moved on the vertex of tracking shape.
Public EventTrackEnded TrackEndedTrackInteractiveOverlayEventArgs This event will be fired after the end of tracking shape.
Public EventTrackEnding TrackEndingTrackInteractiveOverlayEventArgs This event will be fired before the end of tracking shape.
Public EventTrackStarted TrackStartedTrackInteractiveOverlayEventArgs This event will be fired after the start of tracking shape.
Public EventTrackStarting TrackStartingTrackInteractiveOverlayEventArgs This event will be fired before the start of tracking shape.
Public EventVertexAdded VertexAddedTrackInteractiveOverlayEventArgs This event will be fired after a vertex added to the tracking shape.
Public EventVertexAdding VertexAddingTrackInteractiveOverlayEventArgs This event will be fired before a vertex added to the tracking shape.

Public Constructors

TrackInteractiveOverlay()

Default constructor of the class. If you use this constructor, please set the properties correctly or it will use their default values.

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

Close()

This method will simulate the Close interaction.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

Dispose()

This method dispose unmanaged resource used in this class.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

DoubleTap(InteractionArguments)

This method will simulate the DoubleTap interaction.

Remarks

This method is the concrete wrapper for its virtual Core method.

As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay –> Go Back

Draw(MapArguments, OverlayRefreshType)

This method draws the overlay with the provided extent in world coordinate.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
mapArguments MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –> This parameter maintains current map information for calculating mechanism.
refreshType OverlayRefreshType<!– ThinkGeo.MapSuite.AndroidEdition.OverlayRefreshType –> This parameter indicates whether the elements of this overlay needs to be refreshed. For example, TileOverlay is formed by tiles. When panning the map around, the existing tile doesn't need to be redraw, the only thing we need to do is modifying the position of these tiles. On another hand, when click to change the style of the overlay, we need to redraw the tile images to change the appearance. So we need refresh mode.

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetBoundingBox()

This method gets a bounding box of the Overlay.

Remarks

This method is the concrete wrapper for the abstract method GetBoundingBoxCore. This method returns the bounding box of the Overlay.

As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> A RectangleShape indicating the bounding box of this overlay.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetTrackingShape()

This method gets the current Tracking shape.

Remarks

This method is the concrete wrapper for the abstract method GetTrackingShapeCore. This method draws the representation of the overlay based on the extent you provided.

Return Value

Return Type Description
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> Returns a shape represents the current status of tracking shape.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Initialize(MapArguments)

This method initializes overlay object.

Remarks

This is a wrapper method for the virtual method InitializeCore.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
mapArguments MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –> This parameter maintains current map information for calculating mechanism.

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

LongPress(InteractionArguments)

This method will simulate the LongPress interaction.

Remarks

This method is the concrete wrapper for its virtual Core method.

As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay –> Go Back

Open()

This method will simulate the Open interaction.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

PostTransform(TransformArguments, MapArguments)

This method will simulate the PostTransform interaction.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
transformInfo TransformArguments<!– ThinkGeo.MapSuite.AndroidEdition.TransformArguments –> This parameter maintains the transfrom information for calculating transform.
mapArguments MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –> This parameter maintains current map information for calculating mechanism.

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

Refresh()

This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.

Remarks

The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

SingleTap(InteractionArguments)

This method will simulate the SingleTap interaction.

Remarks

This method is the concrete wrapper for its virtual Core method.

As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

TouchDown(InteractionArguments)

This method will simulate the TouchDown interaction.

Remarks

This method is the concrete wrapper for its virtual Core method.

As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –>

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay –> Go Back

TouchMove(InteractionArguments)

This method will simulate the TouchMove interaction.

Remarks

This method is the concrete wrapper for its virtual Core method.

As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay –> Go Back

TouchPointerDown(InteractionArguments)

This method will simulate the TouchPointerDown interaction.

Remarks

This method is the concrete wrapper for its virtual Core method.

As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay –> Go Back

TouchUp(InteractionArguments)

This method will simulate the TouchUp interaction.

Remarks

This method is the concrete wrapper for its virtual Core method.

As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay –> Go Back

Protected Methods

CloseCore()

This protected virtual method is the Core method of Close API.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

Dispose(Boolean)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
isDisposing Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay(overriden) –> Go Back

DoubleTapCore(InteractionArguments)

This protected virtual method is the Core method of MouseDoubleClick API.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay –> Go Back

DrawCore(MapArguments, OverlayRefreshType)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
mapArguments MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –>
refreshType OverlayRefreshType<!– ThinkGeo.MapSuite.AndroidEdition.OverlayRefreshType –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay(overriden) –> Go Back

DrawException(GeoCanvas, Exception)

This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.

Remarks

This method can be overriden its logic by rewrite the DrawExceptionCore.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
geoCanvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>
exception Exception<!– System.Exception –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

DrawExceptionCore(GeoCanvas, Exception)

This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
geoCanvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>
ex Exception<!– System.Exception –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

EndTracking()

This method ends the tracking shape by initialize some variables.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object(overriden) –> Go Back

GetBoundingBoxCore()

This method returns the bounding box of the Overlay.

Remarks

This method returns the bounding box of the Overlay.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> This method returns the bounding box of the Overlay.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

GetTrackingShapeCore()

This is the Core method of GetTrackingShape.You could overrides this method to have your own logic. This method gets the current Tracking shape.

Return Value

Return Type Description
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> Returns a shape represents the current status of tracking shape.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

InitializeCore(MapArguments)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
mapArguments MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay(overriden) –> Go Back

LongPressCore(InteractionArguments)

This overrides the MouseDoubleClick logic in its base class InterativeOverlay.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
interactionArguments InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay(overriden) –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

OnDrawingException(DrawingExceptionOverlayEventArgs)

This method raises before the overlay is drawing exception.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
args DrawingExceptionOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs –> This parameter is the event argument for DrawingException event.

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

OnDrawnException(DrawnExceptionOverlayEventArgs)

This method raises after the overlay is drawn exception.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
args DrawnExceptionOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs –> This parameter is the event argument for DrawingException event.

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

OnMouseMoved(MouseMovedTrackInteractiveOverlayEventArgs)

This event will be fired when mouse moved a vertex to the Tracking shape.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e MouseMovedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.MouseMovedTrackInteractiveOverlayEventArgs –> The MouseMovedTrackInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

OnTrackEnded(TrackEndedTrackInteractiveOverlayEventArgs)

This event will be fired after the end of Tracking a shape.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e TrackEndedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.TrackEndedTrackInteractiveOverlayEventArgs –> The TrackEndedTrackInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

OnTrackEnding(TrackEndingTrackInteractiveOverlayEventArgs)

This event will be fired before the end of Tracking a shape.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e TrackEndingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.TrackEndingTrackInteractiveOverlayEventArgs –> The TrackEndingTrackInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

OnTrackStarted(TrackStartedTrackInteractiveOverlayEventArgs)

This event will be fired after the start of Tracking a shape.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e TrackStartedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.TrackStartedTrackInteractiveOverlayEventArgs –> The TrackStartedTrackInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs)

This event will be fired before the start of Tracking a shape.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e TrackStartingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.TrackStartingTrackInteractiveOverlayEventArgs –> The TrackStartingTrackInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

OnVertexAdded(VertexAddedTrackInteractiveOverlayEventArgs)

This event will be fired after adding a vertex to the Tracking shape.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e VertexAddedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.VertexAddedTrackInteractiveOverlayEventArgs –> The VertexAddedTrackInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

OnVertexAdding(VertexAddingTrackInteractiveOverlayEventArgs)

This event will be fired before adding a vertex to the Tracking shape.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e VertexAddingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.VertexAddingTrackInteractiveOverlayEventArgs –> The VertexAddingTrackInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

OpenCore()

This protected virtual method is the Core method of Open API.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

PostTransformCore(TransformArguments, MapArguments)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
transformInfo TransformArguments<!– ThinkGeo.MapSuite.AndroidEdition.TransformArguments –>
mapArguments MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay(overriden) –> Go Back

RefreshCore()

This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.

Remarks

The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

SingleTapCore(InteractionArguments)

This overrides the MouseClick logic in its base class.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
interactionArguments InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay(overriden) –> Go Back

TouchDownCore(InteractionArguments)

This overrides the MouseDown logic in its base class InterativeOverlay.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
interactionArguments InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay(overriden) –> Go Back

TouchMoveCore(InteractionArguments)

This overrides the MouseMove logic in its base class InterativeOverlay.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
interactionArguments InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay(overriden) –> Go Back

TouchPointerDownCore(InteractionArguments)

This protected virtual method is the Core method of TouchPointerDown API.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay –> Go Back

TouchUpCore(InteractionArguments)

This overrides the MouseUp logic in its base class InterativeOverlay.

Return Value

Return Type Description
InteractiveResult<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveResult –> Interaction results of this method.

Parameters

Name Type Description
interactionArguments InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –> This parameter is the interaction auguments for the method.

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay(overriden) –> Go Back

Public Properties

Attribution

Gets or sets the attribution for this overlay.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

Bitmap

Return Value

Return Type
Bitmap<!– Android.Graphics.Bitmap –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

DrawingExceptionMode

This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing.

Return Value

Return Type
DrawingExceptionMode<!– ThinkGeo.MapSuite.Core.DrawingExceptionMode –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

DrawingQuality

Gets or sets the drawingQuality for this overlay.

Return Value

Return Type
DrawingQuality<!– ThinkGeo.MapSuite.Core.DrawingQuality –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

InteractiveView

Gets or sets Overlay's the interactiveView.

Return Value

Return Type
TileView<!– ThinkGeo.MapSuite.AndroidEdition.TileView –>

<!– ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay –> Go Back

IsEmpty

This property override the logic in its base class by watching the feature count in trackShapeLayer. If it is empty ,we can skip drawing it for better performance.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay(overriden) –> Go Back

IsVisible

Gets or sets if this overlay is visible.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

MapArguments

Gets or sets the mapArguments for this overlay.

Return Value

Return Type
MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

Name

Gets or sets the name of this overaly.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

Opacity

Gets or sets the opacity for this overlay.

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

TrackMode

Gets a mode of TrackOverlay.

Remarks

The default mode is TrackMode.None which means you cannot draw or edit features at client. By setting the mode to TrackMode.Point, TrackMode.Line, TrackMode.Polygon etc., you could add point, line or polygon to the FeatureOverlay. Setting the mode to TrackMode.Edit, you could edit the shapes at the client side.

Return Value

Return Type
TrackMode<!– ThinkGeo.MapSuite.AndroidEdition.TrackMode –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

TrackShapeLayer

This property gets the TrackShape layers which holds the track shapes.

Return Value

Return Type
InMemoryFeatureLayer<!– ThinkGeo.MapSuite.Core.InMemoryFeatureLayer –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

VertexCountInQuarter

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

Protected Properties

IsInTracking

This property gets or sets to sign that if there is any shape being tracking.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

Vertices

This property gets the vertices to make up the track shape. This is a protected property which probablly need to be used in its sub classes.

Return Value

Return Type
Collection<Vertex><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.Vertex} –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

Public Events

DrawingException

Occurs before exception is drawing on map.

Event Arguments

Event Arguments
DrawingExceptionOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

DrawnException

Occurs after exception is drawn on map.

Event Arguments

Event Arguments
DrawnExceptionOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs –>

<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back

MouseMoved

This event will be fired when mouse moved on the vertex of tracking shape.

Event Arguments

Event Arguments
MouseMovedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.MouseMovedTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

TrackEnded

This event will be fired after the end of tracking shape.

Event Arguments

Event Arguments
TrackEndedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.TrackEndedTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

TrackEnding

This event will be fired before the end of tracking shape.

Event Arguments

Event Arguments
TrackEndingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.TrackEndingTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

TrackStarted

This event will be fired after the start of tracking shape.

Event Arguments

Event Arguments
TrackStartedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.TrackStartedTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

TrackStarting

This event will be fired before the start of tracking shape.

Event Arguments

Event Arguments
TrackStartingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.TrackStartingTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

VertexAdded

This event will be fired after a vertex added to the tracking shape.

Event Arguments

Event Arguments
VertexAddedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.VertexAddedTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

VertexAdding

This event will be fired before a vertex added to the tracking shape.

Event Arguments

Event Arguments
VertexAddingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.VertexAddingTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay –> Go Back

NOTOC AndroidEdition ThinkGeo.MapSuite.AndroidEdition UpdateDocumentation

thinkgeo.mapsuite.androidedition.trackinteractiveoverlay.1440040127.txt.gz · Last modified: 2015/09/21 10:32 (external edit)