Table of Contents

ThinkGeo.MapSuite.iOSEdition.EditInteractiveOverlay

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

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

EditInteractiveOverlay()

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

Remarks

N/A

Parameters

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
Parameters

ClearAllControlPoints()

This method clears all control points in corresponding layer.

Remarks

N/A

Return Value
Parameters

DeleteTrackShape()

Delete the selected track shape.

Remarks

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

Return Value
Parameters

TouchUp(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

TouchDown(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

TouchMove(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

TouchPointerDown(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

SingleTap(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

DoubleTap(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

LongPress(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

Refresh(IEnumerable<RectangleShape>)

N/A

Remarks

N/A

Return Value
Parameters

Refresh(TimeSpan)

N/A

Remarks

N/A

Return Value
Parameters

Refresh(TimeSpan,RequestDrawingBufferTimeType)

N/A

Remarks

N/A

Return Value
Parameters

Refresh(TimeSpan,BufferTimeType)

N/A

Remarks

N/A

Return Value
Parameters

Refresh(RectangleShape,TimeSpan)

N/A

Remarks

N/A

Return Value
Parameters

Refresh(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)

N/A

Remarks

N/A

Return Value
Parameters

Refresh(RectangleShape,TimeSpan,BufferTimeType)

N/A

Remarks

N/A

Return Value
Parameters

Refresh(IEnumerable<RectangleShape>,TimeSpan)

N/A

Remarks

N/A

Return Value
Parameters

Refresh(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)

N/A

Remarks

N/A

Return Value
Parameters

Refresh(IEnumerable<RectangleShape>,TimeSpan,BufferTimeType)

N/A

Remarks

N/A

Return Value
Parameters

RemoveAllAnimations()

N/A

Remarks

N/A

Return Value
Parameters

GetBoundingBox()

N/A

Remarks

N/A

Return Value
Parameters

Initialize(MapArguments)

N/A

Remarks

N/A

Return Value
Parameters

Refresh()

N/A

Remarks

N/A

Return Value
Parameters

Refresh(RectangleShape)

N/A

Remarks

N/A

Return Value
Parameters

Draw(MapArguments,OverlayRefreshType)

N/A

Remarks

N/A

Return Value
Parameters

PostTransform(TransformArguments,MapArguments)

N/A

Remarks

N/A

Return Value
Parameters

Close()

N/A

Remarks

N/A

Return Value
Parameters

Dispose()

N/A

Remarks

N/A

Return Value
Parameters

ToString()

N/A

Remarks

N/A

Return Value
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
Parameters

GetHashCode()

N/A

Remarks

N/A

Return Value
Parameters

GetType()

N/A

Remarks

N/A

Return Value
Parameters

Protected Methods

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.

Remarks

N/A

Return Value
Parameters

CalculateRotateControlPointsCore(Feature)

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

Remarks

N/A

Return Value
Parameters

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.

Remarks

N/A

Return Value
Parameters

CalculateVertexControlPointsCore(Feature)

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

Remarks

N/A

Return Value
Parameters

Dispose(Boolean)

N/A

Remarks

N/A

Return Value
Parameters

DoubleTapCore(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

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
Parameters

DragFeatureCore(Feature,PointShape,PointShape)

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

Remarks

N/A

Return Value
Parameters

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
Parameters

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.

Remarks

N/A

Return Value
Parameters

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.

Remarks

N/A

Return Value
Parameters

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
Parameters

MoveVertexCore(Feature,PointShape,PointShape)

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

Remarks

N/A

Return Value
Parameters

OnControlPointSelected(ControlPointSelectedEditInteractiveOverlayEventArgs)

This event will be fired after control point selected.

Remarks

N/A

Return Value
Parameters

OnControlPointSelecting(ControlPointSelectingEditInteractiveOverlayEventArgs)

This event will be fired before control point selected.

Remarks

N/A

Return Value
Parameters

OnEditEnded(Feature)

N/A

Remarks

N/A

Return Value
Parameters

OnFeatureDragged(FeatureDraggedEditInteractiveOverlayEventArgs)

This event will be fired after dragging the feature.

Remarks

N/A

Return Value
Parameters

OnFeatureDragging(FeatureDraggingEditInteractiveOverlayEventArgs)

This event will be fired before dragging the feature.

Remarks

N/A

Return Value
Parameters

OnFeatureResized(FeatureResizedEditInteractiveOverlayEventArgs)

This event will be fired after resizing the feature.

Remarks

N/A

Return Value
Parameters

OnFeatureResizing(FeatureResizingEditInteractiveOverlayEventArgs)

This event will be fired before resizing the feature.

Remarks

N/A

Return Value
Parameters

OnFeatureRotated(FeatureRotatedEditInteractiveOverlayEventArgs)

This event will be fired after rotating the feature.

Remarks

N/A

Return Value
Parameters

OnFeatureRotating(FeatureRotatingEditInteractiveOverlayEventArgs)

This event will be fired before rotating the feature.

Remarks

N/A

Return Value
Parameters

OnVertexAdded(VertexAddedEditInteractiveOverlayEventArgs)

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

Remarks

N/A

Return Value
Parameters

OnVertexAdding(VertexAddingEditInteractiveOverlayEventArgs)

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

Remarks

N/A

Return Value
Parameters

OnVertexMoved(VertexMovedEditInteractiveOverlayEventArgs)

This event will be fired after moving the feature.

Remarks

N/A

Return Value
Parameters

OnVertexMoving(VertexMovingEditInteractiveOverlayEventArgs)

This event will be fired before moving the feature.

Remarks

N/A

Return Value
Parameters

OnVertexRemoved(VertexRemovedEditInteractiveOverlayEventArgs)

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

Remarks

N/A

Return Value
Parameters

OnVertexRemoving(VertexRemovingEditInteractiveOverlayEventArgs)

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

Remarks

N/A

Return Value
Parameters

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
Parameters

RemoveVertexCore(Feature,Vertex,Double)

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

Remarks

N/A

Return Value
Parameters

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
Parameters

ResizeFeatureCore(Feature,PointShape,PointShape)

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

Remarks

N/A

Return Value
Parameters

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
Parameters

RotateFeatureCore(Feature,PointShape,PointShape)

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

Remarks

N/A

Return Value
Parameters

SetSelectedControlPoint(PointShape,Double)

This protected method is to set the control point.

Remarks

N/A

Return Value
Parameters

SetSelectedControlPointCore(PointShape,Double)

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

Remarks

N/A

Return Value
Parameters

SingleTapCore(InteractionArguments)

This overrides the MouseClick logic in its base class.

Remarks

N/A

Return Value
Parameters

TouchDownCore(InteractionArguments)

This overrides the MouseDown logic in its base class InterativeOverlay.

Remarks

N/A

Return Value
Parameters

TouchMoveCore(InteractionArguments)

This overrides the MouseMove logic in its base class InterativeOverlay.

Remarks

N/A

Return Value
Parameters

TouchUpCore(InteractionArguments)

This overrides the MouseUp logic in its base class InterativeOverlay.

Remarks

N/A

Return Value
Parameters

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
Parameters

AddVertexCore(Feature,PointShape,Double)

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

Remarks

N/A

Return Value
Parameters

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.

Remarks

N/A

Return Value
Parameters

CalculateDragControlPointsCore(Feature)

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

Remarks

N/A

Return Value
Parameters

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.

Remarks

N/A

Return Value
Parameters

CalculateResizeControlPointsCore(Feature)

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

Remarks

N/A

Return Value
Parameters

TouchPointerDownCore(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

LongPressCore(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

InitializeCore(MapArguments)

N/A

Remarks

N/A

Return Value
Parameters

PostTransformCore(TransformArguments,MapArguments)

N/A

Remarks

N/A

Return Value
Parameters

RemoveAllAnimationCore()

N/A

Remarks

N/A

Return Value
Parameters

GetBoundingBoxCore()

N/A

Remarks

N/A

Return Value
Parameters

RefreshCore()

N/A

Remarks

N/A

Return Value
Parameters

RefreshCore(RectangleShape)

N/A

Remarks

N/A

Return Value
Parameters

CloseCore()

N/A

Remarks

N/A

Return Value
Parameters

DrawException(GeoCanvas,Exception)

N/A

Remarks

N/A

Return Value
Parameters

DrawExceptionCore(GeoCanvas,Exception)

N/A

Remarks

N/A

Return Value
Parameters

OnDrawingException(DrawingExceptionOverlayEventArgs)

N/A

Remarks

N/A

Return Value
Parameters

OnDrawnException(DrawnExceptionOverlayEventArgs)

N/A

Remarks

N/A

Return Value
Parameters

Finalize()

N/A

Remarks

N/A

Return Value
Parameters

PrepareInertialPanInternal(RectangleShape,RectangleShape,MapArguments)

N/A

Remarks

N/A

Return Value
Parameters

PrepareInertialPan(RectangleShape,RectangleShape,MapArguments)

N/A

Remarks

N/A

Return Value
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
Parameters

GetAllVerticesFromFeature(Feature)

N/A

Remarks

N/A

Return Value
Parameters

Public Properties

CanAddVertex

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

Remarks

N/A

Return Value

CanDrag

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

Remarks

N/A

Return Value

CanRemoveVertex

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

Remarks

N/A

Return Value

CanReshape

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

Remarks

N/A

Return Value

CanResize

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

Remarks

N/A

Return Value

CanRotate

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

Remarks

N/A

Return Value

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

EditShapesLayer

This property gets the InMemoryFeatureLayer which holds the edit shapes.

Remarks

N/A

Return Value

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

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.

Remarks

N/A

Return Value

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

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

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

InteractiveView

N/A

Remarks

N/A

Return Value

AutoRefreshInterval

N/A

Remarks

N/A

Return Value

Name

N/A

Remarks

N/A

Return Value

DrawingExceptionMode

N/A

Remarks

N/A

Return Value

IsVisible

N/A

Remarks

N/A

Return Value

Attribution

N/A

Remarks

N/A

Return Value

OverlayView

N/A

Remarks

N/A

Return Value

DrawingQuality

N/A

Remarks

N/A

Return Value

Opacity

N/A

Remarks

N/A

Return Value

MapArguments

N/A

Remarks

N/A

Return Value

CanRefreshRegion

N/A

Remarks

N/A

Return Value

Protected Properties

ControlPointType

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

Remarks

N/A

Return Value

OriginalEditingFeature

This property gets the feature represents the original editing feature.

Remarks

N/A

Return Value

SelectControlPointFeature

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

Remarks

N/A

Return Value

Public Events

ControlPointSelected This event will be fired after select the control point.

Remarks

N/A

Event Arguments:ControlPointSelectedEditInteractiveOverlayEventArgs

ControlPointSelecting This event will be fired before select the control point.

Remarks

N/A

Event Arguments:ControlPointSelectingEditInteractiveOverlayEventArgs

EditEnded N/A

Remarks

N/A

Event Arguments:EditEndedEditInteractiveOverlayEventArgs

FeatureDragged This event will be fired after drag the feature.

Remarks

N/A

Event Arguments:FeatureDraggedEditInteractiveOverlayEventArgs

FeatureDragging This event will be fired before drag the feature.

Remarks

N/A

Event Arguments:FeatureDraggingEditInteractiveOverlayEventArgs

FeatureResized This event will be fired after resize the feature.

Remarks

N/A

Event Arguments:FeatureResizedEditInteractiveOverlayEventArgs

FeatureResizing This event will be fired before resize the feature.

Remarks

N/A

Event Arguments:FeatureResizingEditInteractiveOverlayEventArgs

FeatureRotated This event will be fired after rotate the feature.

Remarks

N/A

Event Arguments:FeatureRotatedEditInteractiveOverlayEventArgs

FeatureRotating This event will be fired before rotate the feature.

Remarks

N/A

Event Arguments:FeatureRotatingEditInteractiveOverlayEventArgs

VertexAdded This event will be fired after add the vertex.

Remarks

N/A

Event Arguments:VertexAddedEditInteractiveOverlayEventArgs

VertexAdding This event will be fired before add the vertex.

Remarks

N/A

Event Arguments:VertexAddingEditInteractiveOverlayEventArgs

VertexMoved This event will be fired after move the vertex.

Remarks

N/A

Event Arguments:VertexMovedEditInteractiveOverlayEventArgs

VertexMoving This event will be fired before move the vertex.

Remarks

N/A

Event Arguments:VertexMovingEditInteractiveOverlayEventArgs

VertexRemoved This event will be fired after remove the vertex.

Remarks

N/A

Event Arguments:VertexRemovedEditInteractiveOverlayEventArgs

VertexRemoving This event will be fired before remove the vertex.

Remarks

N/A

Event Arguments:VertexRemovingEditInteractiveOverlayEventArgs

DrawingException N/A

Remarks

N/A

Event Arguments:DrawingExceptionOverlayEventArgs

DrawnException N/A

Remarks

N/A

Event Arguments:DrawnExceptionOverlayEventArgs