Skip to content

EditInteractiveOverlay

Inheritance Hierarchy

Members Summary

Public Constructors Summary

Name
EditInteractiveOverlay()

Protected Constructors Summary

Name
N/A

Public Properties Summary

Name Return Type Description
Attribution String N/A
AutoRefreshInterval TimeSpan N/A
CanAddVertex Boolean Gets a value which indicates whether the shape can Add new vertex.
CanDrag Boolean Gets a value which indicates whether the shape can be dragged.
CanRefreshRegion Boolean N/A
CanRemoveVertex Boolean Gets a value which indicates whether the shape can remove a existing vertex.
CanReshape Boolean Gets a value which indicates whether the shape can be reshaped.
CanResize Boolean Gets a value which indicates whether the shape can be resized.
CanRotate Boolean Gets a value which indicates whether the shape can be rotated.
DragControlPointsLayer InMemoryFeatureLayer This property gets the InMemoryFeatureLayer which holds the control points for drag.
DrawingExceptionMode DrawingExceptionMode N/A
DrawingQuality DrawingQuality N/A
EditShapesLayer InMemoryFeatureLayer This property gets the InMemoryFeatureLayer which holds the edit shapes.
ExistingControlPointsLayer InMemoryFeatureLayer This property gets the InMemoryFeatureLayer which holds the control points which represents the existing vertices of the edit shapes.
InteractiveView TileView N/A
IsEmpty Boolean 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.
IsVisible Boolean N/A
MapArguments MapArguments N/A
Name String N/A
Opacity Double N/A
OverlayView UIView N/A
ResizeControlPointsLayer InMemoryFeatureLayer This property gets the InMemoryFeatureLayer which holds the control points for resize.
RotateControlPointsLayer InMemoryFeatureLayer This property gets the InMemoryFeatureLayer which holds the control points for rotate.
SelectedControlPointLayer InMemoryFeatureLayer N/A
TrackMode TrackMode Gets or sets a mode of TrackOverlay.

Protected Properties Summary

Name Return Type Description
ControlPointType ControlPointType This property gets or sets the ControlPointType for the control points of the edit shapes.
OriginalEditingFeature Feature This property gets the feature represents the original editing feature.
SelectControlPointFeature Feature This property gets the feature represents the select control points of the edit shapes.

Public Methods Summary

Name
CalculateAllControlPoints()
ClearAllControlPoints()
Close()
DeleteTrackShape()
Dispose()
DoubleTap(InteractionArguments)
Draw(MapArguments,OverlayRefreshType)
Equals(Object)
GetBoundingBox()
GetHashCode()
GetType()
Initialize(MapArguments)
LongPress(InteractionArguments)
PostTransform(TransformArguments,MapArguments)
Refresh()
Refresh(RectangleShape)
Refresh(IEnumerable<RectangleShape>)
Refresh(TimeSpan)
Refresh(TimeSpan,RequestDrawingBufferTimeType)
Refresh(RectangleShape,TimeSpan)
Refresh(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)
Refresh(IEnumerable<RectangleShape>,TimeSpan)
Refresh(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)
RemoveAllAnimations()
SingleTap(InteractionArguments)
ToString()
TouchDown(InteractionArguments)
TouchMove(InteractionArguments)
TouchPointerDown(InteractionArguments)
TouchUp(InteractionArguments)

Protected Methods Summary

Name
AddVertex(PointShape,Double)
AddVertexCore(Feature,PointShape,Double)
CalculateDragControlPoints()
CalculateDragControlPointsCore(Feature)
CalculateResizeControlPoints()
CalculateResizeControlPointsCore(Feature)
CalculateRotateControlPoints()
CalculateRotateControlPointsCore(Feature)
CalculateVertexControlPoints()
CalculateVertexControlPointsCore(Feature)
CloseCore()
Dispose(Boolean)
DoubleTapCore(InteractionArguments)
DragFeature(Feature,PointShape,PointShape)
DragFeatureCore(Feature,PointShape,PointShape)
DrawCore(MapArguments,OverlayRefreshType)
DrawException(GeoCanvas,Exception)
DrawExceptionCore(GeoCanvas,Exception)
EndEditing(PointShape)
EndEditingCore(PointShape)
Finalize()
GetAllVerticesFromFeature(Feature)
GetBoundingBoxCore()
InitializeCore(MapArguments)
LongPressCore(InteractionArguments)
MemberwiseClone()
MoveVertex(Feature,PointShape,PointShape)
MoveVertexCore(Feature,PointShape,PointShape)
OnControlPointSelected(ControlPointSelectedEditInteractiveOverlayEventArgs)
OnControlPointSelecting(ControlPointSelectingEditInteractiveOverlayEventArgs)
OnDrawingException(DrawingExceptionOverlayEventArgs)
OnDrawnException(DrawnExceptionOverlayEventArgs)
OnEditEnded(Feature)
OnFeatureDragged(FeatureDraggedEditInteractiveOverlayEventArgs)
OnFeatureDragging(FeatureDraggingEditInteractiveOverlayEventArgs)
OnFeatureResized(FeatureResizedEditInteractiveOverlayEventArgs)
OnFeatureResizing(FeatureResizingEditInteractiveOverlayEventArgs)
OnFeatureRotated(FeatureRotatedEditInteractiveOverlayEventArgs)
OnFeatureRotating(FeatureRotatingEditInteractiveOverlayEventArgs)
OnVertexAdded(VertexAddedEditInteractiveOverlayEventArgs)
OnVertexAdding(VertexAddingEditInteractiveOverlayEventArgs)
OnVertexMoved(VertexMovedEditInteractiveOverlayEventArgs)
OnVertexMoving(VertexMovingEditInteractiveOverlayEventArgs)
OnVertexRemoved(VertexRemovedEditInteractiveOverlayEventArgs)
OnVertexRemoving(VertexRemovingEditInteractiveOverlayEventArgs)
PostTransformCore(TransformArguments,MapArguments)
PrepareInertialPan(RectangleShape,RectangleShape,MapArguments)
PrepareInertialPanInternal(RectangleShape,RectangleShape,MapArguments)
RefreshCore()
RefreshCore(RectangleShape)
RemoveAllAnimationCore()
RemoveVertex(PointShape,Double)
RemoveVertexCore(Feature,Vertex,Double)
ResizeFeature(Feature,PointShape,PointShape)
ResizeFeatureCore(Feature,PointShape,PointShape)
RotateFeature(Feature,PointShape,PointShape)
RotateFeatureCore(Feature,PointShape,PointShape)
SetSelectedControlPoint(PointShape,Double)
SetSelectedControlPointCore(PointShape,Double)
SingleTapCore(InteractionArguments)
TouchDownCore(InteractionArguments)
TouchMoveCore(InteractionArguments)
TouchPointerDownCore(InteractionArguments)
TouchUpCore(InteractionArguments)

Public Events Summary

Name Event Arguments Description
ControlPointSelected ControlPointSelectedEditInteractiveOverlayEventArgs N/A
ControlPointSelecting ControlPointSelectingEditInteractiveOverlayEventArgs N/A
EditEnded EditEndedEditInteractiveOverlayEventArgs N/A
FeatureDragged FeatureDraggedEditInteractiveOverlayEventArgs N/A
FeatureDragging FeatureDraggingEditInteractiveOverlayEventArgs N/A
FeatureResized FeatureResizedEditInteractiveOverlayEventArgs N/A
FeatureResizing FeatureResizingEditInteractiveOverlayEventArgs N/A
FeatureRotated FeatureRotatedEditInteractiveOverlayEventArgs N/A
FeatureRotating FeatureRotatingEditInteractiveOverlayEventArgs N/A
VertexAdded VertexAddedEditInteractiveOverlayEventArgs N/A
VertexAdding VertexAddingEditInteractiveOverlayEventArgs N/A
VertexMoved VertexMovedEditInteractiveOverlayEventArgs N/A
VertexMoving VertexMovingEditInteractiveOverlayEventArgs N/A
VertexRemoved VertexRemovedEditInteractiveOverlayEventArgs N/A
VertexRemoving VertexRemovingEditInteractiveOverlayEventArgs N/A
DrawingException DrawingExceptionOverlayEventArgs N/A
DrawnException DrawnExceptionOverlayEventArgs N/A

Members Detail

Public Constructors

Name
EditInteractiveOverlay()

Protected Constructors

Public Properties

Attribution

Summary

N/A

Remarks

N/A

Return Value

String


AutoRefreshInterval

Summary

N/A

Remarks

N/A

Return Value

TimeSpan


CanAddVertex

Summary

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

Remarks

N/A

Return Value

Boolean


CanDrag

Summary

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

Remarks

N/A

Return Value

Boolean


CanRefreshRegion

Summary

N/A

Remarks

N/A

Return Value

Boolean


CanRemoveVertex

Summary

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

Remarks

N/A

Return Value

Boolean


CanReshape

Summary

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

Remarks

N/A

Return Value

Boolean


CanResize

Summary

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

Remarks

N/A

Return Value

Boolean


CanRotate

Summary

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

Remarks

N/A

Return Value

Boolean


DragControlPointsLayer

Summary

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

InMemoryFeatureLayer


DrawingExceptionMode

Summary

N/A

Remarks

N/A

Return Value

DrawingExceptionMode


DrawingQuality

Summary

N/A

Remarks

N/A

Return Value

DrawingQuality


EditShapesLayer

Summary

This property gets the InMemoryFeatureLayer which holds the edit shapes.

Remarks

N/A

Return Value

InMemoryFeatureLayer


ExistingControlPointsLayer

Summary

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

InMemoryFeatureLayer


InteractiveView

Summary

N/A

Remarks

N/A

Return Value

TileView


IsEmpty

Summary

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

Boolean


IsVisible

Summary

N/A

Remarks

N/A

Return Value

Boolean


MapArguments

Summary

N/A

Remarks

N/A

Return Value

MapArguments


Name

Summary

N/A

Remarks

N/A

Return Value

String


Opacity

Summary

N/A

Remarks

N/A

Return Value

Double


OverlayView

Summary

N/A

Remarks

N/A

Return Value

UIView


ResizeControlPointsLayer

Summary

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

InMemoryFeatureLayer


RotateControlPointsLayer

Summary

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

InMemoryFeatureLayer


SelectedControlPointLayer

Summary

N/A

Remarks

N/A

Return Value

InMemoryFeatureLayer


TrackMode

Summary

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

TrackMode


Protected Properties

ControlPointType

Summary

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

Remarks

N/A

Return Value

ControlPointType


OriginalEditingFeature

Summary

This property gets the feature represents the original editing feature.

Remarks

N/A

Return Value

Feature


SelectControlPointFeature

Summary

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

Remarks

N/A

Return Value

Feature


Public Methods

CalculateAllControlPoints()

Summary

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

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

ClearAllControlPoints()

Summary

This method clears all control points in corresponding layer.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

Close()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

DeleteTrackShape()

Summary

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

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

Dispose()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

DoubleTap(InteractionArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
InteractiveResult N/A

Parameters

Name Type Description
e InteractionArguments N/A

Draw(MapArguments,OverlayRefreshType)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
mapArguments MapArguments N/A
refreshType OverlayRefreshType N/A

Equals(Object)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
obj Object N/A

GetBoundingBox()

Summary

N/A

Remarks

N/A

Return Value

Type Description
RectangleShape N/A

Parameters

Name Type Description
N/A N/A N/A

GetHashCode()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
N/A N/A N/A

GetType()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Type N/A

Parameters

Name Type Description
N/A N/A N/A

Initialize(MapArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
mapArguments MapArguments N/A

LongPress(InteractionArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
InteractiveResult N/A

Parameters

Name Type Description
e InteractionArguments N/A

PostTransform(TransformArguments,MapArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
transformInfo TransformArguments N/A
mapArguments MapArguments N/A

Refresh()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

Refresh(RectangleShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extent RectangleShape N/A

Refresh(IEnumerable<RectangleShape>)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extentsToRefresh IEnumerable<RectangleShape> N/A

Refresh(TimeSpan)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
bufferTime TimeSpan N/A

Refresh(TimeSpan,RequestDrawingBufferTimeType)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
bufferTime TimeSpan N/A
bufferTimeType RequestDrawingBufferTimeType N/A

Refresh(RectangleShape,TimeSpan)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extentToRefresh RectangleShape N/A
bufferTime TimeSpan N/A

Refresh(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extentToRefresh RectangleShape N/A
bufferTime TimeSpan N/A
bufferTimeType RequestDrawingBufferTimeType N/A

Refresh(IEnumerable<RectangleShape>,TimeSpan)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extentsToRefresh IEnumerable<RectangleShape> N/A
bufferTime TimeSpan N/A

Refresh(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extentsToRefresh IEnumerable<RectangleShape> N/A
bufferTime TimeSpan N/A
bufferTimeType RequestDrawingBufferTimeType N/A

RemoveAllAnimations()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

SingleTap(InteractionArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
InteractiveResult N/A

Parameters

Name Type Description
e InteractionArguments N/A

ToString()

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

TouchDown(InteractionArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
InteractiveResult N/A

Parameters

Name Type Description
e InteractionArguments N/A

TouchMove(InteractionArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
InteractiveResult N/A

Parameters

Name Type Description
e InteractionArguments N/A

TouchPointerDown(InteractionArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
InteractiveResult N/A

Parameters

Name Type Description
e InteractionArguments N/A

TouchUp(InteractionArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
InteractiveResult N/A

Parameters

Name Type Description
e InteractionArguments N/A

Protected Methods

AddVertex(PointShape,Double)

Summary

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

Type Description
Boolean True if add vertex succeed , other wise return false.

Parameters

Name Type Description
targetPointShape PointShape This parameter specifies the point shape to search the vertex.
searchingTolerance Double This parameter specifes the searching tolerance to search the vetex.

AddVertexCore(Feature,PointShape,Double)

Summary

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

Remarks

N/A

Return Value

Type Description
Feature Returns a vertex added feature.

Parameters

Name Type Description
targetFeature Feature This parameter specifies the target feature to be add vertex from.
targetPointShape PointShape This parameter specifies the target vertex to be added.
searchingTolerance Double This parameter specifes the searching tolerance to search the vetex.

CalculateDragControlPoints()

Summary

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

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

CalculateDragControlPointsCore(Feature)

Summary

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

Type Description
IEnumerable<Feature> A collection of features stands for the Drag control points.

Parameters

Name Type Description
feature Feature The target feature to caculate the control point.

CalculateResizeControlPoints()

Summary

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

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

CalculateResizeControlPointsCore(Feature)

Summary

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

Type Description
IEnumerable<Feature> A collection of features stands for the Resize control points.

Parameters

Name Type Description
feature Feature The target feature to caculate the control point.

CalculateRotateControlPoints()

Summary

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

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

CalculateRotateControlPointsCore(Feature)

Summary

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

Type Description
IEnumerable<Feature> A collection of features stands for the Rotate control points.

Parameters

Name Type Description
feature Feature The target feature to caculate the control point.

CalculateVertexControlPoints()

Summary

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

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

CalculateVertexControlPointsCore(Feature)

Summary

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

Type Description
IEnumerable<Feature> A collection of features stands for the Vertex control points.

Parameters

Name Type Description
feature Feature The target feature to caculate the control point.

CloseCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

Dispose(Boolean)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
disposing Boolean N/A

DoubleTapCore(InteractionArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
InteractiveResult N/A

Parameters

Name Type Description
interactionArguments InteractionArguments N/A

DragFeature(Feature,PointShape,PointShape)

Summary

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

Type Description
Feature Returns a dragged feature.

Parameters

Name Type Description
sourceFeature Feature This parameter specifies the source feature to be dragged.
sourceControlPoint PointShape This parameter specifes the source control point to drag the feature.
targetControlPoint PointShape This parameter specifes the target control point to drag the feature.

DragFeatureCore(Feature,PointShape,PointShape)

Summary

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

Remarks

N/A

Return Value

Type Description
Feature Returns a dragged feature.

Parameters

Name Type Description
sourceFeature Feature This parameter specifies the source feature to be dragged.
sourceControlPoint PointShape This parameter specifes the source control point to drag the feature.
targetControlPoint PointShape This parameter specifes the target control point to drag the feature.

DrawCore(MapArguments,OverlayRefreshType)

Summary

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

Type Description
Void None

Parameters

Name Type Description
mapArguments MapArguments This parameter is current mapArguments.
refreshType OverlayRefreshType This parameter is overlay refresh type.

DrawException(GeoCanvas,Exception)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
geoCanvas GeoCanvas N/A
exception Exception N/A

DrawExceptionCore(GeoCanvas,Exception)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
geoCanvas GeoCanvas N/A
ex Exception N/A

EndEditing(PointShape)

Summary

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

Type Description
Void N/A

Parameters

Name Type Description
targetPointShape PointShape This is the targetPointShape possible be used when overriding.

EndEditingCore(PointShape)

Summary

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

Type Description
Void N/A

Parameters

Name Type Description
targetPointShape PointShape This is the targetPointShape possible be used when overriding.

Finalize()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

GetAllVerticesFromFeature(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Collection<PointShape> N/A

Parameters

Name Type Description
feature Feature N/A

GetBoundingBoxCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
RectangleShape N/A

Parameters

Name Type Description
N/A N/A N/A

InitializeCore(MapArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
mapArgument MapArguments N/A

LongPressCore(InteractionArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
InteractiveResult N/A

Parameters

Name Type Description
e InteractionArguments N/A

MemberwiseClone()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Object N/A

Parameters

Name Type Description
N/A N/A N/A

MoveVertex(Feature,PointShape,PointShape)

Summary

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

Type Description
Feature Returns a rotated feature.

Parameters

Name Type Description
sourceFeature Feature This parameter specifies the source feature to be move vertex from.
sourceControlPoint PointShape This parameter specifes the source control point to move vertex from the feature.
targetControlPoint PointShape This parameter specifes the target control point to move vertex from the feature.

MoveVertexCore(Feature,PointShape,PointShape)

Summary

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

Remarks

N/A

Return Value

Type Description
Feature Returns a vertex moved feature.

Parameters

Name Type Description
sourceFeature Feature This parameter specifies the source feature to be move vertex from.
sourceControlPoint PointShape This parameter specifes the source control point to move vertex from the feature.
targetControlPoint PointShape This parameter specifes the target control point to move vertex from the feature.

OnControlPointSelected(ControlPointSelectedEditInteractiveOverlayEventArgs)

Summary

This event will be fired after control point selected.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e ControlPointSelectedEditInteractiveOverlayEventArgs The ControlPointSelectedEditInteractiveOverlayEventArgs passed for the event raised.

OnControlPointSelecting(ControlPointSelectingEditInteractiveOverlayEventArgs)

Summary

This event will be fired before control point selected.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e ControlPointSelectingEditInteractiveOverlayEventArgs The ControlPointSelectingEditInteractiveOverlayEventArgs passed for the event raised.

OnDrawingException(DrawingExceptionOverlayEventArgs)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
args DrawingExceptionOverlayEventArgs N/A

OnDrawnException(DrawnExceptionOverlayEventArgs)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
args DrawnExceptionOverlayEventArgs N/A

OnEditEnded(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
editedFeature Feature N/A

OnFeatureDragged(FeatureDraggedEditInteractiveOverlayEventArgs)

Summary

This event will be fired after dragging the feature.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e FeatureDraggedEditInteractiveOverlayEventArgs The FeatureDraggedEditInteractiveOverlayEventArgs passed for the event raised.

OnFeatureDragging(FeatureDraggingEditInteractiveOverlayEventArgs)

Summary

This event will be fired before dragging the feature.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e FeatureDraggingEditInteractiveOverlayEventArgs The FeatureDraggingEditInteractiveOverlayEventArgs passed for the event raised.

OnFeatureResized(FeatureResizedEditInteractiveOverlayEventArgs)

Summary

This event will be fired after resizing the feature.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e FeatureResizedEditInteractiveOverlayEventArgs The FeatureResizedEditInteractiveOverlayEventArgs passed for the event raised.

OnFeatureResizing(FeatureResizingEditInteractiveOverlayEventArgs)

Summary

This event will be fired before resizing the feature.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e FeatureResizingEditInteractiveOverlayEventArgs The FeatureResizingEditInteractiveOverlayEventArgs passed for the event raised.

OnFeatureRotated(FeatureRotatedEditInteractiveOverlayEventArgs)

Summary

This event will be fired after rotating the feature.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e FeatureRotatedEditInteractiveOverlayEventArgs The FeatureRotatedEditInteractiveOverlayEventArgs passed for the event raised.

OnFeatureRotating(FeatureRotatingEditInteractiveOverlayEventArgs)

Summary

This event will be fired before rotating the feature.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e FeatureRotatingEditInteractiveOverlayEventArgs The FeatureRotatingEditInteractiveOverlayEventArgs passed for the event raised.

OnVertexAdded(VertexAddedEditInteractiveOverlayEventArgs)

Summary

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

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e VertexAddedEditInteractiveOverlayEventArgs The VertexAddedEditInteractiveOverlayEventArgs passed for the event raised.

OnVertexAdding(VertexAddingEditInteractiveOverlayEventArgs)

Summary

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

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e VertexAddingEditInteractiveOverlayEventArgs The VertexAddingEditInteractiveOverlayEventArgs passed for the event raised.

OnVertexMoved(VertexMovedEditInteractiveOverlayEventArgs)

Summary

This event will be fired after moving the feature.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e VertexMovedEditInteractiveOverlayEventArgs The VertexMovedEditInteractiveOverlayEventArgs passed for the event raised.

OnVertexMoving(VertexMovingEditInteractiveOverlayEventArgs)

Summary

This event will be fired before moving the feature.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e VertexMovingEditInteractiveOverlayEventArgs The VertexMovingEditInteractiveOverlayEventArgs passed for the event raised.

OnVertexRemoved(VertexRemovedEditInteractiveOverlayEventArgs)

Summary

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

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e VertexRemovedEditInteractiveOverlayEventArgs The VertexRemovedEditInteractiveOverlayEventArgs passed for the event raised.

OnVertexRemoving(VertexRemovingEditInteractiveOverlayEventArgs)

Summary

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

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e VertexRemovingEditInteractiveOverlayEventArgs The VertexRemovingEditInteractiveOverlayEventArgs passed for the event raised.

PostTransformCore(TransformArguments,MapArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
transformInfo TransformArguments N/A
mapArguments MapArguments N/A

PrepareInertialPan(RectangleShape,RectangleShape,MapArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
currentExtent RectangleShape N/A
velocityExtent RectangleShape N/A
mapArguments MapArguments N/A

PrepareInertialPanInternal(RectangleShape,RectangleShape,MapArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
currentExtent RectangleShape N/A
velocityExtent RectangleShape N/A
mapArguments MapArguments N/A

RefreshCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

RefreshCore(RectangleShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extent RectangleShape N/A

RemoveAllAnimationCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

RemoveVertex(PointShape,Double)

Summary

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

Type Description
Boolean True if remove vertex succeed , other wise return false.

Parameters

Name Type Description
targetPointShape PointShape This parameter specifies the point shape to search the vertex.
searchingTolerance Double This parameter specifes the searching tolerance to search the vetex.

RemoveVertexCore(Feature,Vertex,Double)

Summary

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

Remarks

N/A

Return Value

Type Description
Feature Returns a vertex removed feature.

Parameters

Name Type Description
editShapeFeature Feature This parameter specifies the target feature to be remove vertex from.
selectedVertex Vertex This parameter specifies the selected vertex to search the vertex.
searchingTolerance Double This parameter specifes the searching tolerance to search the vetex.

ResizeFeature(Feature,PointShape,PointShape)

Summary

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

Type Description
Feature Returns a resized feature.

Parameters

Name Type Description
sourceFeature Feature This parameter specifies the source feature to be resized.
sourceControlPoint PointShape This parameter specifes the source control point to resize the feature.
targetControlPoint PointShape This parameter specifes the target control point to resize the feature.

ResizeFeatureCore(Feature,PointShape,PointShape)

Summary

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

Remarks

N/A

Return Value

Type Description
Feature Returns a resized feature.

Parameters

Name Type Description
sourceFeature Feature This parameter specifies the source feature to be resized.
sourceControlPoint PointShape This parameter specifes the source control point to resize the feature.
targetControlPoint PointShape This parameter specifes the target control point to resize the feature.

RotateFeature(Feature,PointShape,PointShape)

Summary

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

Type Description
Feature Returns a rotated feature.

Parameters

Name Type Description
sourceFeature Feature This parameter specifies the source feature to be rotated.
sourceControlPoint PointShape This parameter specifes the source control point to rotate the feature.
targetControlPoint PointShape This parameter specifes the target control point to rotate the feature.

RotateFeatureCore(Feature,PointShape,PointShape)

Summary

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

Remarks

N/A

Return Value

Type Description
Feature Returns a resized feature.

Parameters

Name Type Description
sourceFeature Feature This parameter specifies the source feature to be rotated.
sourceControlPoint PointShape This parameter specifes the source control point to rotate the feature.
targetControlPoint PointShape This parameter specifes the target control point to rotate the feature.

SetSelectedControlPoint(PointShape,Double)

Summary

This protected method is to set the control point.

Remarks

N/A

Return Value

Type Description
Boolean Returns true if control point are found and set correct, other wise, returns false.

Parameters

Name Type Description
targetPointShape PointShape This parameter is target point shape we determine to edit.
searchingTolerance Double This parameter is the searchinig tolerance to seach the control point.

SetSelectedControlPointCore(PointShape,Double)

Summary

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

Remarks

N/A

Return Value

Type Description
Feature A feature stands for the selected control point.

Parameters

Name Type Description
targetPointShape PointShape This parameter is target point shape we determine to edit.
searchingTolerance Double This parameter is the searchinig tolerance to seach the control point.

SingleTapCore(InteractionArguments)

Summary

This overrides the MouseClick logic in its base class.

Remarks

N/A

Return Value

Type Description
InteractiveResult Interaction results of this method.

Parameters

Name Type Description
interactionArguments InteractionArguments This parameter is the interaction auguments for the method.

TouchDownCore(InteractionArguments)

Summary

This overrides the MouseDown logic in its base class InterativeOverlay.

Remarks

N/A

Return Value

Type Description
InteractiveResult Interaction results of this method.

Parameters

Name Type Description
interactionArguments InteractionArguments This parameter is the interaction auguments for the method.

TouchMoveCore(InteractionArguments)

Summary

This overrides the MouseMove logic in its base class InterativeOverlay.

Remarks

N/A

Return Value

Type Description
InteractiveResult Interaction results of this method.

Parameters

Name Type Description
interactionArguments InteractionArguments This parameter is the interaction auguments for the method.

TouchPointerDownCore(InteractionArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
InteractiveResult N/A

Parameters

Name Type Description
e InteractionArguments N/A

TouchUpCore(InteractionArguments)

Summary

This overrides the MouseUp logic in its base class InterativeOverlay.

Remarks

N/A

Return Value

Type Description
InteractiveResult Interaction results of this method.

Parameters

Name Type Description
interactionArguments InteractionArguments This parameter is the interaction auguments for the method.

Public Events

ControlPointSelected

N/A

Remarks

N/A

Event Arguments

ControlPointSelectedEditInteractiveOverlayEventArgs

ControlPointSelecting

N/A

Remarks

N/A

Event Arguments

ControlPointSelectingEditInteractiveOverlayEventArgs

EditEnded

N/A

Remarks

N/A

Event Arguments

EditEndedEditInteractiveOverlayEventArgs

FeatureDragged

N/A

Remarks

N/A

Event Arguments

FeatureDraggedEditInteractiveOverlayEventArgs

FeatureDragging

N/A

Remarks

N/A

Event Arguments

FeatureDraggingEditInteractiveOverlayEventArgs

FeatureResized

N/A

Remarks

N/A

Event Arguments

FeatureResizedEditInteractiveOverlayEventArgs

FeatureResizing

N/A

Remarks

N/A

Event Arguments

FeatureResizingEditInteractiveOverlayEventArgs

FeatureRotated

N/A

Remarks

N/A

Event Arguments

FeatureRotatedEditInteractiveOverlayEventArgs

FeatureRotating

N/A

Remarks

N/A

Event Arguments

FeatureRotatingEditInteractiveOverlayEventArgs

VertexAdded

N/A

Remarks

N/A

Event Arguments

VertexAddedEditInteractiveOverlayEventArgs

VertexAdding

N/A

Remarks

N/A

Event Arguments

VertexAddingEditInteractiveOverlayEventArgs

VertexMoved

N/A

Remarks

N/A

Event Arguments

VertexMovedEditInteractiveOverlayEventArgs

VertexMoving

N/A

Remarks

N/A

Event Arguments

VertexMovingEditInteractiveOverlayEventArgs

VertexRemoved

N/A

Remarks

N/A

Event Arguments

VertexRemovedEditInteractiveOverlayEventArgs

VertexRemoving

N/A

Remarks

N/A

Event Arguments

VertexRemovingEditInteractiveOverlayEventArgs

DrawingException

N/A

Remarks

N/A

Event Arguments

DrawingExceptionOverlayEventArgs

DrawnException

N/A

Remarks

N/A

Event Arguments

DrawnExceptionOverlayEventArgs