User Tools

Site Tools


thinkgeo.mapsuite.iosedition.editinteractiveoverlay

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.iOSEdition.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 Closes this instance.
Public MethodDeleteTrackShape Delete the selected track shape.
Public MethodDispose Overlay Disposes this instance.
Public MethodDoubleTap InteractionArguments InteractiveOverlay Doubles the tap.
Public MethodDraw MapArguments, OverlayRefreshType Overlay This method draws the overlay by the specified arguments.
Public MethodEquals Object Object
Public MethodGetBoundingBox Overlay Gets the bounding box.
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodInitialize MapArguments Overlay Initializes the specified map arguments.
Public MethodLongPress InteractionArguments InteractiveOverlay Longs the press.
Public MethodPostTransform TransformArguments, MapArguments Overlay Posts the transform for the overlay.
Public MethodRefresh Overlay Refreshes this instance.
Public MethodSingleTap InteractionArguments InteractiveOverlay Singles the tap.
Public MethodToString Object
Public MethodTouchDown InteractionArguments InteractiveOverlay Touches down.
Public MethodTouchMove InteractionArguments InteractiveOverlay Touches the move.
Public MethodTouchPointerDown InteractionArguments InteractiveOverlay Touches the pointer down.
Public MethodTouchUp InteractionArguments InteractiveOverlay Touches up.

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 Closes the core.
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 Draws the exception.
Protected MethodDrawExceptionCore GeoCanvas, Exception Overlay Draws the exception core.
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 Gets the bounding box core.
Protected MethodInitializeCore MapArguments Overlay(overriden)
Protected MethodLongPressCore InteractionArguments InteractiveOverlay Longs the press core.
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 Handles the event.
Protected MethodOnDrawnException DrawnExceptionOverlayEventArgs Overlay Handles the event.
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 MethodPostTransformCore TransformArguments, MapArguments Overlay(overriden)
Protected MethodRefreshCore Overlay Refreshes the core.
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 Touches the pointer down core.
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.
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 drawing quality.
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 the interactive view.
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 a value indicating whether this instance is visible.
Public PropertyMapArguments MapArguments Overlay Gets or sets the map arguments.
Public PropertyName String Overlay Gets or sets the name.
Public PropertyOpacity Double Overlay Gets or sets the opacity.
Public PropertyOverlayView UIView Overlay Gets or sets the overlay view.
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 This event raises when exception.
Public EventDrawnException DrawnExceptionOverlayEventArgs Overlay This event raises when exception.
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.iOSEdition.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.iOSEdition.EditInteractiveOverlay –> Go Back

Close()

Closes this instance.

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.EditInteractiveOverlay –> Go Back

Dispose()

Disposes this instance.

Return Value

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

Parameters

Name Type Description

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

DoubleTap(InteractionArguments)

Doubles the tap.

Return Value

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

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.iOSEdition.InteractionArguments –> The e.

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

Draw(MapArguments, OverlayRefreshType)

This method draws the overlay by the specified arguments.

Return Value

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

Parameters

Name Type Description
mapArguments MapArguments<!– ThinkGeo.MapSuite.iOSEdition.MapArguments –> This parameter indicates an mapArguments to draw the overlay.
refreshType OverlayRefreshType<!– ThinkGeo.MapSuite.iOSEdition.OverlayRefreshType –> This parameter indicates whether this overlay needs to be refresh or not.

<!– ThinkGeo.MapSuite.iOSEdition.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()

Gets the bounding box.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> A RectangleShape value for the overlay.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.iOSEdition.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)

Initializes the specified map arguments.

Return Value

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

Parameters

Name Type Description
mapArguments MapArguments<!– ThinkGeo.MapSuite.iOSEdition.MapArguments –> The map arguments.

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

LongPress(InteractionArguments)

Longs the press.

Return Value

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

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.iOSEdition.InteractionArguments –> The e.

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

PostTransform(TransformArguments, MapArguments)

Posts the transform for the overlay.

Return Value

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

Parameters

Name Type Description
transformInfo TransformArguments<!– ThinkGeo.MapSuite.iOSEdition.TransformArguments –> The transform information.
mapArguments MapArguments<!– ThinkGeo.MapSuite.iOSEdition.MapArguments –> The map arguments.

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

Refresh()

Refreshes this instance.

Return Value

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

Parameters

Name Type Description

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

SingleTap(InteractionArguments)

Singles the tap.

Return Value

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

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.iOSEdition.InteractionArguments –> The e.

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

ToString()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

TouchDown(InteractionArguments)

Touches down.

Return Value

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

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.iOSEdition.InteractionArguments –> The e.

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

TouchMove(InteractionArguments)

Touches the move.

Return Value

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

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.iOSEdition.InteractionArguments –> The e.

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

TouchPointerDown(InteractionArguments)

Touches the pointer down.

Return Value

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

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.iOSEdition.InteractionArguments –> The e.

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

TouchUp(InteractionArguments)

Touches up.

Return Value

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

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.iOSEdition.InteractionArguments –> The e.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.EditInteractiveOverlay –> Go Back

CloseCore()

Closes the core.

Return Value

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

Parameters

Name Type Description

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

Dispose(Boolean)

Return Value

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

Parameters

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

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

DoubleTapCore(InteractionArguments)

Return Value

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

Parameters

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

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.MapArguments –>
refreshType OverlayRefreshType<!– ThinkGeo.MapSuite.iOSEdition.OverlayRefreshType –>

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

DrawException(GeoCanvas, Exception)

Draws the exception.

Return Value

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

Parameters

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

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

DrawExceptionCore(GeoCanvas, Exception)

Draws the exception core.

Return Value

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

Parameters

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

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.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.iOSEdition.EditInteractiveOverlay –> Go Back

Finalize()

Return Value

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

Parameters

Name Type Description

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

GetBoundingBoxCore()

Gets the bounding box core.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> RectangleShape.

Parameters

Name Type Description

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

InitializeCore(MapArguments)

Return Value

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

Parameters

Name Type Description
mapArgument MapArguments<!– ThinkGeo.MapSuite.iOSEdition.MapArguments –>

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

LongPressCore(InteractionArguments)

Longs the press core.

Return Value

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

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.iOSEdition.InteractionArguments –> The e.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.ControlPointSelectedEditInteractiveOverlayEventArgs –> The ControlPointSelectedEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.ControlPointSelectingEditInteractiveOverlayEventArgs –> The ControlPointSelectingEditInteractiveOverlayEventArgs passed for the event raised.

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

OnDrawingException(DrawingExceptionOverlayEventArgs)

Handles the event.

Return Value

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

Parameters

Name Type Description
args DrawingExceptionOverlayEventArgs<!– ThinkGeo.MapSuite.iOSEdition.DrawingExceptionOverlayEventArgs –> The instance containing the event data.

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

OnDrawnException(DrawnExceptionOverlayEventArgs)

Handles the event.

Return Value

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

Parameters

Name Type Description
args DrawnExceptionOverlayEventArgs<!– ThinkGeo.MapSuite.iOSEdition.DrawnExceptionOverlayEventArgs –> The instance containing the event data.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.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.iOSEdition.FeatureDraggedEditInteractiveOverlayEventArgs –> The FeatureDraggedEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.FeatureDraggingEditInteractiveOverlayEventArgs –> The FeatureDraggingEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.FeatureResizedEditInteractiveOverlayEventArgs –> The FeatureResizedEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.FeatureResizingEditInteractiveOverlayEventArgs –> The FeatureResizingEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.FeatureRotatedEditInteractiveOverlayEventArgs –> The FeatureRotatedEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.FeatureRotatingEditInteractiveOverlayEventArgs –> The FeatureRotatingEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.VertexAddedEditInteractiveOverlayEventArgs –> The VertexAddedEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.VertexAddingEditInteractiveOverlayEventArgs –> The VertexAddingEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.VertexMovedEditInteractiveOverlayEventArgs –> The VertexMovedEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.VertexMovingEditInteractiveOverlayEventArgs –> The VertexMovingEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.VertexRemovedEditInteractiveOverlayEventArgs –> The VertexRemovedEditInteractiveOverlayEventArgs passed for the event raised.

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.VertexRemovingEditInteractiveOverlayEventArgs –> The VertexRemovingEditInteractiveOverlayEventArgs passed for the event raised.

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

PostTransformCore(TransformArguments, MapArguments)

Return Value

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

Parameters

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

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

RefreshCore()

Refreshes the core.

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.EditInteractiveOverlay –> Go Back

SingleTapCore(InteractionArguments)

This overrides the MouseClick logic in its base class.

Return Value

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

Parameters

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

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

TouchDownCore(InteractionArguments)

This overrides the MouseDown logic in its base class InterativeOverlay.

Return Value

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

Parameters

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

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

TouchMoveCore(InteractionArguments)

This overrides the MouseMove logic in its base class InterativeOverlay.

Return Value

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

Parameters

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

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

TouchPointerDownCore(InteractionArguments)

Touches the pointer down core.

Return Value

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

Parameters

Name Type Description
e InteractionArguments<!– ThinkGeo.MapSuite.iOSEdition.InteractionArguments –> The e.

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

TouchUpCore(InteractionArguments)

This overrides the MouseUp logic in its base class InterativeOverlay.

Return Value

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

Parameters

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

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

Public Properties

Attribution

Gets or sets the attribution.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.EditInteractiveOverlay –> Go Back

CanDrag

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

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.EditInteractiveOverlay –> Go Back

CanReshape

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

Return Value

Return Type
Boolean<!– System.Boolean –>

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

CanResize

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

Return Value

Return Type
Boolean<!– System.Boolean –>

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

CanRotate

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

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.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.iOSEdition.Overlay –> Go Back

DrawingQuality

Gets or sets the drawing quality.

Return Value

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

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.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.iOSEdition.EditInteractiveOverlay –> Go Back

InteractiveView

Gets or sets the interactive view.

Return Value

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

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.Overlay(overriden) –> Go Back

IsVisible

Gets or sets a value indicating whether this instance is visible.

Return Value

Return Type
Boolean<!– System.Boolean –>

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

MapArguments

Gets or sets the map arguments.

Return Value

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

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

Name

Gets or sets the name.

Return Value

Return Type
String<!– System.String –>

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

Opacity

Gets or sets the opacity.

Return Value

Return Type
Double<!– System.Double –>

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

OverlayView

Gets or sets the overlay view.

Return Value

Return Type
UIView<!– MonoTouch.UIKit.UIView –>

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.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.iOSEdition.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.iOSEdition.TrackMode –>

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.ControlPointType –>

<!– ThinkGeo.MapSuite.iOSEdition.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.iOSEdition.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.iOSEdition.EditInteractiveOverlay –> Go Back

Public Events

ControlPointSelected

This event will be fired after select the control point.

Event Arguments

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

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

ControlPointSelecting

This event will be fired before select the control point.

Event Arguments

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

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

DrawingException

This event raises when exception.

Event Arguments

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

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

DrawnException

This event raises when exception.

Event Arguments

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

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

EditEnded

Event Arguments

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

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

FeatureDragged

This event will be fired after drag the feature.

Event Arguments

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

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

FeatureDragging

This event will be fired before drag the feature.

Event Arguments

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

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

FeatureResized

This event will be fired after resize the feature.

Event Arguments

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

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

FeatureResizing

This event will be fired before resize the feature.

Event Arguments

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

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

FeatureRotated

This event will be fired after rotate the feature.

Event Arguments

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

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

FeatureRotating

This event will be fired before rotate the feature.

Event Arguments

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

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

VertexAdded

This event will be fired after add the vertex.

Event Arguments

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

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

VertexAdding

This event will be fired before add the vertex.

Event Arguments

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

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

VertexMoved

This event will be fired after move the vertex.

Event Arguments

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

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

VertexMoving

This event will be fired before move the vertex.

Event Arguments

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

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

VertexRemoved

This event will be fired after remove the vertex.

Event Arguments

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

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

VertexRemoving

This event will be fired before remove the vertex.

Event Arguments

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

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

NOTOC iOSEdition ThinkGeo.MapSuite.iOSEdition UpdateDocumentation

thinkgeo.mapsuite.iosedition.editinteractiveoverlay.1440040131.txt.gz · Last modified: 2015/09/21 08:32 (external edit)