User Tools

Site Tools


thinkgeo.mapsuite.androidedition.editinteractiveoverlay

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.AndroidEdition.EditInteractiveOverlay

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

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodEditInteractiveOverlay Default constructor of the class. If you use thi 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 MethodCalculateAllControlPoints This method calculates all control points.
Public MethodClearAllControlPoints This method clears all control points in corresponding layer.
Public MethodClose Overlay This method will simulate the Close interaction.
Public MethodDeleteTrackShape Delete the selected track shape.
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 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 MethodAddVertex PointShape, Double This is the method to add vertex from a feature.
Protected MethodAddVertexCore Feature, PointShape, Double This is the Core method of AddVertex which encapsulate the logic.
Protected MethodCalculateDragControlPoints This method caculates the Drag control points for all the features in the EditShapesLayer. You can override its logic by rewrite its core method.
Protected MethodCalculateDragControlPointsCore Feature This is the core API for the CalculateDragControlPoints, you can override this method if you want to change its logic.
Protected MethodCalculateResizeControlPoints This method caculates the Resize control points for all the features in the EditShapesLayer. You can override its logic by rewrite its core method.
Protected MethodCalculateResizeControlPointsCore Feature This is the core API for the CalculateResizeControlPoints, you can override this method if you want to change its logic.
Protected MethodCalculateRotateControlPoints This method caculates the Rotate control points for all the features in the EditShapesLayer. You can override its logic by rewrite its core method.
Protected MethodCalculateRotateControlPointsCore Feature This is the core API for the CalculateRotateControlPoints, you can override this method if you want to change its logic.
Protected MethodCalculateVertexControlPoints This method caculates the vertex control points for all the features in the EditShapesLayer. You can override its logic by rewrite its core method.
Protected MethodCalculateVertexControlPointsCore Feature This is the core API for the CalculateVertexControlPoints, you can override this method if you want to change its logic.
Protected MethodCloseCore Overlay This protected virtual method is the Core method of Close API.
Protected MethodDispose Boolean Overlay(overriden)
Protected MethodDoubleTapCore InteractionArguments InteractiveOverlay(overriden)
Protected MethodDragFeature Feature, PointShape, PointShape This is the method to Drag a feature.
Protected MethodDragFeatureCore Feature, PointShape, PointShape This is the Core method of DragFeature which encapsulate the logic.
Protected MethodDrawCore MapArguments, OverlayRefreshType Overlay(overriden) This method draws the EditInterativeOverlay.
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 MethodEndEditing PointShape This method End the editing for the interative editing on the feature in the EditShapesLayer. You can override its logic by rewrite its core method.
Protected MethodEndEditingCore PointShape This is the core method of EndEditing method. This method End the editing for the interative editing on the feature in the EditShapesLayer.
Protected MethodFinalize Object(overriden)
Protected MethodGetBoundingBoxCore Overlay This method returns the bounding box of the Overlay.
Protected MethodInitializeCore MapArguments Overlay(overriden)
Protected MethodLongPressCore InteractionArguments InteractiveOverlay This protected virtual method is the Core method of LongPress API.
Protected MethodMemberwiseClone Object
Protected MethodMoveVertex Feature, PointShape, PointShape This is the method to move vertex from a feature.
Protected MethodMoveVertexCore Feature, PointShape, PointShape This is the Core method of MoveVertex which encapsulate the logic.
Protected MethodOnControlPointSelected ControlPointSelectedEditInteractiveOverlayEventArgs This event will be fired after control point selected.
Protected MethodOnControlPointSelecting ControlPointSelectingEditInteractiveOverlayEventArgs This event will be fired before control point selected.
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 MethodOnEditEnded Feature
Protected MethodOnFeatureDragged FeatureDraggedEditInteractiveOverlayEventArgs This event will be fired after dragging the feature.
Protected MethodOnFeatureDragging FeatureDraggingEditInteractiveOverlayEventArgs This event will be fired before dragging the feature.
Protected MethodOnFeatureResized FeatureResizedEditInteractiveOverlayEventArgs This event will be fired after resizing the feature.
Protected MethodOnFeatureResizing FeatureResizingEditInteractiveOverlayEventArgs This event will be fired before resizing the feature.
Protected MethodOnFeatureRotated FeatureRotatedEditInteractiveOverlayEventArgs This event will be fired after rotating the feature.
Protected MethodOnFeatureRotating FeatureRotatingEditInteractiveOverlayEventArgs This event will be fired before rotating the feature.
Protected MethodOnVertexAdded VertexAddedEditInteractiveOverlayEventArgs This event will be fired after vertex added to the edit feature.
Protected MethodOnVertexAdding VertexAddingEditInteractiveOverlayEventArgs This event will be fired before vertex added to the edit feature.
Protected MethodOnVertexMoved VertexMovedEditInteractiveOverlayEventArgs This event will be fired after moving the feature.
Protected MethodOnVertexMoving VertexMovingEditInteractiveOverlayEventArgs This event will be fired before moving the feature.
Protected MethodOnVertexRemoved VertexRemovedEditInteractiveOverlayEventArgs This event will be fired after vertex removed from the edit feature.
Protected MethodOnVertexRemoving VertexRemovingEditInteractiveOverlayEventArgs This event will be fired before vertex removed from the edit feature.
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 MethodRemoveVertex PointShape, Double This is the method to remove vertex from a feature.
Protected MethodRemoveVertexCore Feature, Vertex, Double This is the Core method of RemoveVertex which encapsulate the logic.
Protected MethodResizeFeature Feature, PointShape, PointShape This is the method to Resize a feature.
Protected MethodResizeFeatureCore Feature, PointShape, PointShape This is the Core method of ResizeFeature which encapsulate the logic.
Protected MethodRotateFeature Feature, PointShape, PointShape This is the method to Rotate a feature.
Protected MethodRotateFeatureCore Feature, PointShape, PointShape This is the Core method of RotateFeature which encapsulate the logic.
Protected MethodSetSelectedControlPoint PointShape, Double This protected method is to set the control point.
Protected MethodSetSelectedControlPointCore PointShape, Double This protected virtual method is the Core method of SetSelectedControlPoint API.
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 PropertyCanAddVertex Boolean Gets a value which indicates whether the shape can Add new vertex.
Public PropertyCanDrag Boolean Gets a value which indicates whether the shape can be dragged.
Public PropertyCanRemoveVertex Boolean Gets a value which indicates whether the shape can remove a existing vertex.
Public PropertyCanReshape Boolean Gets a value which indicates whether the shape can be reshaped.
Public PropertyCanResize Boolean Gets a value which indicates whether the shape can be resized.
Public PropertyCanRotate Boolean Gets a value which indicates whether the shape can be rotated.
Public PropertyDragControlPointsLayer InMemoryFeatureLayer This property gets the InMemoryFeatureLayer which holds the control points for drag.
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 PropertyEditShapesLayer InMemoryFeatureLayer This property gets the InMemoryFeatureLayer which holds the edit shapes.
Public PropertyExistingControlPointsLayer InMemoryFeatureLayer This property gets the InMemoryFeatureLayer which holds the control points which represents the existing vertices of the edit shapes.
Public PropertyInteractiveView TileView InteractiveOverlay Gets or sets Overlay's the interactiveView.
Public PropertyIsEmpty Boolean Overlay(overriden) This property override its property in base class by watching the feature count in editShapesLayer. 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 PropertyResizeControlPointsLayer InMemoryFeatureLayer This property gets the InMemoryFeatureLayer which holds the control points for resize.
Public PropertyRotateControlPointsLayer InMemoryFeatureLayer This property gets the InMemoryFeatureLayer which holds the control points for rotate.
Public PropertyTrackMode TrackMode Gets or sets a mode of TrackOverlay.

Protected Properties

Name Return DeclaringType Summary
Protected PropertyControlPointType ControlPointType This property gets or sets the ControlPointType for the control points of the edit shapes.
Protected PropertyOriginalEditingFeature Feature This property gets the feature represents the original editing feature.
Protected PropertySelectControlPointFeature Feature This property gets the feature represents the select control points of the edit shapes.

Public Events

Name Event Arguments DeclaringType Summary
Public EventControlPointSelected ControlPointSelectedEditInteractiveOverlayEventArgs This event will be fired after select the control point.
Public EventControlPointSelecting ControlPointSelectingEditInteractiveOverlayEventArgs This event will be fired before select the control point.
Public EventDrawingException DrawingExceptionOverlayEventArgs Overlay Occurs before exception is drawing on map.
Public EventDrawnException DrawnExceptionOverlayEventArgs Overlay Occurs after exception is drawn on map.
Public EventEditEnded EditEndedEditInteractiveOverlayEventArgs
Public EventFeatureDragged FeatureDraggedEditInteractiveOverlayEventArgs This event will be fired after drag the feature.
Public EventFeatureDragging FeatureDraggingEditInteractiveOverlayEventArgs This event will be fired before drag the feature.
Public EventFeatureResized FeatureResizedEditInteractiveOverlayEventArgs This event will be fired after resize the feature.
Public EventFeatureResizing FeatureResizingEditInteractiveOverlayEventArgs This event will be fired before resize the feature.
Public EventFeatureRotated FeatureRotatedEditInteractiveOverlayEventArgs This event will be fired after rotate the feature.
Public EventFeatureRotating FeatureRotatingEditInteractiveOverlayEventArgs This event will be fired before rotate the feature.
Public EventVertexAdded VertexAddedEditInteractiveOverlayEventArgs This event will be fired after add the vertex.
Public EventVertexAdding VertexAddingEditInteractiveOverlayEventArgs This event will be fired before add the vertex.
Public EventVertexMoved VertexMovedEditInteractiveOverlayEventArgs This event will be fired after move the vertex.
Public EventVertexMoving VertexMovingEditInteractiveOverlayEventArgs This event will be fired before move the vertex.
Public EventVertexRemoved VertexRemovedEditInteractiveOverlayEventArgs This event will be fired after remove the vertex.
Public EventVertexRemoving VertexRemovingEditInteractiveOverlayEventArgs This event will be fired before remove the vertex.

Public Constructors

EditInteractiveOverlay()

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

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

CalculateAllControlPoints()

This method calculates all control points.

Remarks

First, it will clear all control points. Then it will calculate each control points according to their settings.

Return Value

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

Parameters

Name Type Description

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

ClearAllControlPoints()

This method clears all control points in corresponding layer.

Return Value

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

Parameters

Name Type Description

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

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

DeleteTrackShape()

Delete the selected track shape.

Remarks

Should set TrackMode as EditShape mode first, use mouse select one shape, and then call <strong>DeleteTrackShape</strong>, it will delete the selected shape.

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.EditInteractiveOverlay –> 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

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

AddVertex(PointShape, Double)

This is the method to add vertex from a feature.

Remarks

This method is the concrete wrapper for the abstract method AddVertexCore.

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
Boolean<!– System.Boolean –> True if add vertex succeed , other wise return false.

Parameters

Name Type Description
targetPointShape PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifies the point shape to search the vertex.
searchingTolerance Double<!– System.Double –> This parameter specifes the searching tolerance to search the vetex.

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

AddVertexCore(Feature, PointShape, Double)

This is the Core method of AddVertex which encapsulate the logic.

Return Value

Return Type Description
Feature<!– ThinkGeo.MapSuite.Core.Feature –> Returns a vertex added feature.

Parameters

Name Type Description
targetFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –> This parameter specifies the target feature to be add vertex from.
targetPointShape PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifies the target vertex to be added.
searchingTolerance Double<!– System.Double –> This parameter specifes the searching tolerance to search the vetex.

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

CalculateDragControlPoints()

This method caculates the Drag control points for all the features in the EditShapesLayer. You can override its logic by rewrite its core method.

Return Value

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

Parameters

Name Type Description

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

CalculateDragControlPointsCore(Feature)

This is the core API for the CalculateDragControlPoints, you can override this method if you want to change its logic.

Return Value

Return Type Description
IEnumerable<Feature><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.Feature} –> A collection of features stands for the Drag control points.

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –> The target feature to caculate the control point.

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

CalculateResizeControlPoints()

This method caculates the Resize control points for all the features in the EditShapesLayer. You can override its logic by rewrite its core method.

Return Value

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

Parameters

Name Type Description

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

CalculateResizeControlPointsCore(Feature)

This is the core API for the CalculateResizeControlPoints, you can override this method if you want to change its logic.

Return Value

Return Type Description
IEnumerable<Feature><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.Feature} –> A collection of features stands for the Resize control points.

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –> The target feature to caculate the control point.

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

CalculateRotateControlPoints()

This method caculates the Rotate control points for all the features in the EditShapesLayer. You can override its logic by rewrite its core method.

Return Value

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

Parameters

Name Type Description

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

CalculateRotateControlPointsCore(Feature)

This is the core API for the CalculateRotateControlPoints, you can override this method if you want to change its logic.

Return Value

Return Type Description
IEnumerable<Feature><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.Feature} –> A collection of features stands for the Rotate control points.

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –> The target feature to caculate the control point.

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

CalculateVertexControlPoints()

This method caculates the vertex control points for all the features in the EditShapesLayer. You can override its logic by rewrite its core method.

Return Value

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

Parameters

Name Type Description

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

CalculateVertexControlPointsCore(Feature)

This is the core API for the CalculateVertexControlPoints, you can override this method if you want to change its logic.

Return Value

Return Type Description
IEnumerable<Feature><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.Feature} –> A collection of features stands for the Vertex control points.

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –> The target feature to caculate the control point.

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

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)

Return Value

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

Parameters

Name Type Description
interactionArguments InteractionArguments<!– ThinkGeo.MapSuite.AndroidEdition.InteractionArguments –>

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

DragFeature(Feature, PointShape, PointShape)

This is the method to Drag a feature.

Remarks

This method is the concrete wrapper for the abstract method DragFeatureCore.

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
Feature<!– ThinkGeo.MapSuite.Core.Feature –> Returns a dragged feature.

Parameters

Name Type Description
sourceFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –> This parameter specifies the source feature to be dragged.
sourceControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the source control point to drag the feature.
targetControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the target control point to drag the feature.

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

DragFeatureCore(Feature, PointShape, PointShape)

This is the Core method of DragFeature which encapsulate the logic.

Return Value

Return Type Description
Feature<!– ThinkGeo.MapSuite.Core.Feature –> Returns a dragged feature.

Parameters

Name Type Description
sourceFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –> This parameter specifies the source feature to be dragged.
sourceControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the source control point to drag the feature.
targetControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the target control point to drag the feature.

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

DrawCore(MapArguments, OverlayRefreshType)

This method draws the EditInterativeOverlay.

Remarks

This method draws the representation of the overlay based on the extent you provided.

When implementing this abstract method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties that allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection.

Return Value

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

Parameters

Name Type Description
mapArguments MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –> This parameter is the arguments for current map.
refreshType OverlayRefreshType<!– ThinkGeo.MapSuite.AndroidEdition.OverlayRefreshType –> This parameter is current refreshType, could be pan or redraw.

<!– 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

EndEditing(PointShape)

This method End the editing for the interative editing on the feature in the EditShapesLayer. You can override its logic by rewrite its core method.

Return Value

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

Parameters

Name Type Description
targetPointShape PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This is the targetPointShape possible be used when overriding.

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

EndEditingCore(PointShape)

This is the core method of EndEditing method. This method End the editing for the interative editing on the feature in the EditShapesLayer.

Return Value

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

Parameters

Name Type Description
targetPointShape PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This is the targetPointShape possible be used when overriding.

<!– ThinkGeo.MapSuite.AndroidEdition.EditInteractiveOverlay –> 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

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 protected virtual method is the Core method of LongPress 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

MemberwiseClone()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

MoveVertex(Feature, PointShape, PointShape)

This is the method to move vertex from a feature.

Remarks

This method is the concrete wrapper for the abstract method MoveVertexCore.

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
Feature<!– ThinkGeo.MapSuite.Core.Feature –> Returns a rotated feature.

Parameters

Name Type Description
sourceFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –> This parameter specifies the source feature to be move vertex from.
sourceControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the source control point to move vertex from the feature.
targetControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the target control point to move vertex from the feature.

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

MoveVertexCore(Feature, PointShape, PointShape)

This is the Core method of MoveVertex which encapsulate the logic.

Return Value

Return Type Description
Feature<!– ThinkGeo.MapSuite.Core.Feature –> Returns a vertex moved feature.

Parameters

Name Type Description
sourceFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –> This parameter specifies the source feature to be move vertex from.
sourceControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the source control point to move vertex from the feature.
targetControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the target control point to move vertex from the feature.

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

OnControlPointSelected(ControlPointSelectedEditInteractiveOverlayEventArgs)

This event will be fired after control point selected.

Return Value

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

Parameters

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

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

OnControlPointSelecting(ControlPointSelectingEditInteractiveOverlayEventArgs)

This event will be fired before control point selected.

Return Value

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

Parameters

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

<!– ThinkGeo.MapSuite.AndroidEdition.EditInteractiveOverlay –> 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

OnEditEnded(Feature)

Return Value

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

Parameters

Name Type Description
editedFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –>

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

OnFeatureDragged(FeatureDraggedEditInteractiveOverlayEventArgs)

This event will be fired after dragging the feature.

Return Value

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

Parameters

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

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

OnFeatureDragging(FeatureDraggingEditInteractiveOverlayEventArgs)

This event will be fired before dragging the feature.

Return Value

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

Parameters

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

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

OnFeatureResized(FeatureResizedEditInteractiveOverlayEventArgs)

This event will be fired after resizing the feature.

Return Value

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

Parameters

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

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

OnFeatureResizing(FeatureResizingEditInteractiveOverlayEventArgs)

This event will be fired before resizing the feature.

Return Value

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

Parameters

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

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

OnFeatureRotated(FeatureRotatedEditInteractiveOverlayEventArgs)

This event will be fired after rotating the feature.

Return Value

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

Parameters

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

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

OnFeatureRotating(FeatureRotatingEditInteractiveOverlayEventArgs)

This event will be fired before rotating the feature.

Return Value

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

Parameters

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

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

OnVertexAdded(VertexAddedEditInteractiveOverlayEventArgs)

This event will be fired after vertex added to the edit feature.

Return Value

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

Parameters

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

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

OnVertexAdding(VertexAddingEditInteractiveOverlayEventArgs)

This event will be fired before vertex added to the edit feature.

Return Value

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

Parameters

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

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

OnVertexMoved(VertexMovedEditInteractiveOverlayEventArgs)

This event will be fired after moving the feature.

Return Value

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

Parameters

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

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

OnVertexMoving(VertexMovingEditInteractiveOverlayEventArgs)

This event will be fired before moving the feature.

Return Value

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

Parameters

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

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

OnVertexRemoved(VertexRemovedEditInteractiveOverlayEventArgs)

This event will be fired after vertex removed from the edit feature.

Return Value

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

Parameters

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

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

OnVertexRemoving(VertexRemovingEditInteractiveOverlayEventArgs)

This event will be fired before vertex removed from the edit feature.

Return Value

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

Parameters

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

<!– ThinkGeo.MapSuite.AndroidEdition.EditInteractiveOverlay –> 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

RemoveVertex(PointShape, Double)

This is the method to remove vertex from a feature.

Remarks

This method is the concrete wrapper for the abstract method RemoveVertexCore.

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
Boolean<!– System.Boolean –> True if remove vertex succeed , other wise return false.

Parameters

Name Type Description
targetPointShape PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifies the point shape to search the vertex.
searchingTolerance Double<!– System.Double –> This parameter specifes the searching tolerance to search the vetex.

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

RemoveVertexCore(Feature, Vertex, Double)

This is the Core method of RemoveVertex which encapsulate the logic.

Return Value

Return Type Description
Feature<!– ThinkGeo.MapSuite.Core.Feature –> Returns a vertex removed feature.

Parameters

Name Type Description
editShapeFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –> This parameter specifies the target feature to be remove vertex from.
selectedVertex Vertex<!– ThinkGeo.MapSuite.Core.Vertex –> This parameter specifies the selected vertex to search the vertex.
searchingTolerance Double<!– System.Double –> This parameter specifes the searching tolerance to search the vetex.

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

ResizeFeature(Feature, PointShape, PointShape)

This is the method to Resize a feature.

Remarks

This method is the concrete wrapper for the abstract method ResizeFeatureCore.

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
Feature<!– ThinkGeo.MapSuite.Core.Feature –> Returns a resized feature.

Parameters

Name Type Description
sourceFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –> This parameter specifies the source feature to be resized.
sourceControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the source control point to resize the feature.
targetControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the target control point to resize the feature.

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

ResizeFeatureCore(Feature, PointShape, PointShape)

This is the Core method of ResizeFeature which encapsulate the logic.

Return Value

Return Type Description
Feature<!– ThinkGeo.MapSuite.Core.Feature –> Returns a resized feature.

Parameters

Name Type Description
sourceFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –> This parameter specifies the source feature to be resized.
sourceControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the source control point to resize the feature.
targetControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the target control point to resize the feature.

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

RotateFeature(Feature, PointShape, PointShape)

This is the method to Rotate a feature.

Remarks

This method is the concrete wrapper for the abstract method RotateFeatureCore.

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
Feature<!– ThinkGeo.MapSuite.Core.Feature –> Returns a rotated feature.

Parameters

Name Type Description
sourceFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –> This parameter specifies the source feature to be rotated.
sourceControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the source control point to rotate the feature.
targetControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the target control point to rotate the feature.

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

RotateFeatureCore(Feature, PointShape, PointShape)

This is the Core method of RotateFeature which encapsulate the logic.

Return Value

Return Type Description
Feature<!– ThinkGeo.MapSuite.Core.Feature –> Returns a resized feature.

Parameters

Name Type Description
sourceFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –> This parameter specifies the source feature to be rotated.
sourceControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the source control point to rotate the feature.
targetControlPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter specifes the target control point to rotate the feature.

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

SetSelectedControlPoint(PointShape, Double)

This protected method is to set the control point.

Return Value

Return Type Description
Boolean<!– System.Boolean –> Returns true if control point are found and set correct, other wise, returns false.

Parameters

Name Type Description
targetPointShape PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter is target point shape we determine to edit.
searchingTolerance Double<!– System.Double –> This parameter is the searchinig tolerance to seach the control point.

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

SetSelectedControlPointCore(PointShape, Double)

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

Return Value

Return Type Description
Feature<!– ThinkGeo.MapSuite.Core.Feature –> A feature stands for the selected control point.

Parameters

Name Type Description
targetPointShape PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> This parameter is target point shape we determine to edit.
searchingTolerance Double<!– System.Double –> This parameter is the searchinig tolerance to seach the control point.

<!– ThinkGeo.MapSuite.AndroidEdition.EditInteractiveOverlay –> 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

CanAddVertex

Gets a value which indicates whether the shape can Add new vertex.

Return Value

Return Type
Boolean<!– System.Boolean –>

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

CanDrag

Gets a value which indicates whether the shape can be dragged.

Return Value

Return Type
Boolean<!– System.Boolean –>

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

CanRemoveVertex

Gets a value which indicates whether the shape can remove a existing vertex.

Return Value

Return Type
Boolean<!– System.Boolean –>

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

CanReshape

Gets a value which indicates whether the shape can be reshaped.

Return Value

Return Type
Boolean<!– System.Boolean –>

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

CanResize

Gets a value which indicates whether the shape can be resized.

Return Value

Return Type
Boolean<!– System.Boolean –>

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

CanRotate

Gets a value which indicates whether the shape can be rotated.

Return Value

Return Type
Boolean<!– System.Boolean –>

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

DragControlPointsLayer

This property gets the InMemoryFeatureLayer which holds the control points for drag.

Remarks

Every control points for drag are not the existing vertex of the edit shapes.

Return Value

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

<!– ThinkGeo.MapSuite.AndroidEdition.EditInteractiveOverlay –> 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

EditShapesLayer

This property gets the InMemoryFeatureLayer which holds the edit shapes.

Return Value

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

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

ExistingControlPointsLayer

This property gets the InMemoryFeatureLayer which holds the control points which represents the existing vertices of the edit shapes.

Remarks

Every control points in this layer are the existing vertices of the edit shapes.

Return Value

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

<!– ThinkGeo.MapSuite.AndroidEdition.EditInteractiveOverlay –> 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 its property in base class by watching the feature count in editShapesLayer. 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

ResizeControlPointsLayer

This property gets the InMemoryFeatureLayer which holds the control points for resize.

Remarks

Every control points for resize are not the existing vertex of the edit shapes.

Return Value

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

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

RotateControlPointsLayer

This property gets the InMemoryFeatureLayer which holds the control points for rotate.

Remarks

Every control points for rotate are not the existing vertex of the edit shapes.

Return Value

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

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

TrackMode

Gets or sets 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.EditInteractiveOverlay –> Go Back

Protected Properties

ControlPointType

This property gets or sets the ControlPointType for the control points of the edit shapes.

Return Value

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

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

OriginalEditingFeature

This property gets the feature represents the original editing feature.

Return Value

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

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

SelectControlPointFeature

This property gets the feature represents the select control points of the edit shapes.

Return Value

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

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

Public Events

ControlPointSelected

This event will be fired after select the control point.

Event Arguments

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

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

ControlPointSelecting

This event will be fired before select the control point.

Event Arguments

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

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

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

EditEnded

Event Arguments

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

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

FeatureDragged

This event will be fired after drag the feature.

Event Arguments

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

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

FeatureDragging

This event will be fired before drag the feature.

Event Arguments

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

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

FeatureResized

This event will be fired after resize the feature.

Event Arguments

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

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

FeatureResizing

This event will be fired before resize the feature.

Event Arguments

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

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

FeatureRotated

This event will be fired after rotate the feature.

Event Arguments

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

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

FeatureRotating

This event will be fired before rotate the feature.

Event Arguments

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

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

VertexAdded

This event will be fired after add the vertex.

Event Arguments

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

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

VertexAdding

This event will be fired before add the vertex.

Event Arguments

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

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

VertexMoved

This event will be fired after move the vertex.

Event Arguments

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

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

VertexMoving

This event will be fired before move the vertex.

Event Arguments

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

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

VertexRemoved

This event will be fired after remove the vertex.

Event Arguments

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

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

VertexRemoving

This event will be fired before remove the vertex.

Event Arguments

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

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

NOTOC AndroidEdition ThinkGeo.MapSuite.AndroidEdition UpdateDocumentation

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