Skip to content

TrackInteractiveOverlay

Inheritance Hierarchy

Members Summary

Public Constructors Summary

Name
TrackInteractiveOverlay()

Protected Constructors Summary

Name
N/A

Public Properties Summary

Name Return Type Description
Attribution String N/A
AutoRefreshInterval TimeSpan N/A
CanRefreshRegion Boolean N/A
DrawingExceptionMode DrawingExceptionMode N/A
DrawingQuality DrawingQuality N/A
InteractiveView TileView N/A
IsEmpty Boolean This property override the logic in its base class by watching the feature count in trackShapeLayer. If it is empty ,we can skip drawing it for better performance.
IsInTracking Boolean This property gets or sets to sign that if there is any shape being tracking.
IsVisible Boolean N/A
MapArguments MapArguments N/A
Name String N/A
Opacity Double N/A
OverlayView UIView N/A
TrackMode TrackMode Gets a mode of TrackOverlay.
TrackShapeLayer InMemoryFeatureLayer This property gets the TrackShape layers which holds the track shapes.

Protected Properties Summary

Name Return Type Description
Vertices Collection<Vertex> This property gets the vertices to make up the track shape. This is a protected property which probablly need to be used in its sub classes.

Public Methods Summary

Name
CancelTracking()
Close()
Dispose()
DoubleTap(InteractionArguments)
Draw(MapArguments,OverlayRefreshType)
Equals(Object)
GetBoundingBox()
GetHashCode()
GetTrackingShape()
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
CloseCore()
Dispose(Boolean)
DoubleTapCore(InteractionArguments)
DrawCore(MapArguments,OverlayRefreshType)
DrawException(GeoCanvas,Exception)
DrawExceptionCore(GeoCanvas,Exception)
EndTracking()
Finalize()
GetBoundingBoxCore()
GetTrackingShapeCore()
InitializeCore(MapArguments)
LongPressCore(InteractionArguments)
MemberwiseClone()
OnDrawingException(DrawingExceptionOverlayEventArgs)
OnDrawnException(DrawnExceptionOverlayEventArgs)
OnTouchMoved(TouchMovedTrackInteractiveOverlayEventArgs)
OnTrackEnded(TrackEndedTrackInteractiveOverlayEventArgs)
OnTrackEnding(TrackEndingTrackInteractiveOverlayEventArgs)
OnTrackStarted(TrackStartedTrackInteractiveOverlayEventArgs)
OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs)
OnVertexAdded(VertexAddedTrackInteractiveOverlayEventArgs)
OnVertexAdding(VertexAddingTrackInteractiveOverlayEventArgs)
PostTransformCore(TransformArguments,MapArguments)
PrepareInertialPan(RectangleShape,RectangleShape,MapArguments)
PrepareInertialPanInternal(RectangleShape,RectangleShape,MapArguments)
RefreshCore()
RefreshCore(RectangleShape)
RemoveAllAnimationCore()
SingleTapCore(InteractionArguments)
TouchDownCore(InteractionArguments)
TouchMoveCore(InteractionArguments)
TouchPointerDownCore(InteractionArguments)
TouchUpCore(InteractionArguments)

Public Events Summary

Name Event Arguments Description
TrackEnded TrackEndedTrackInteractiveOverlayEventArgs N/A
TrackEnding TrackEndingTrackInteractiveOverlayEventArgs N/A
TrackStarted TrackStartedTrackInteractiveOverlayEventArgs N/A
TrackStarting TrackStartingTrackInteractiveOverlayEventArgs N/A
VertexAdded VertexAddedTrackInteractiveOverlayEventArgs N/A
VertexAdding VertexAddingTrackInteractiveOverlayEventArgs N/A
TouchMoved TouchMovedTrackInteractiveOverlayEventArgs N/A
DrawingException DrawingExceptionOverlayEventArgs N/A
DrawnException DrawnExceptionOverlayEventArgs N/A

Members Detail

Public Constructors

Name
TrackInteractiveOverlay()

Protected Constructors

Public Properties

Attribution

Summary

N/A

Remarks

N/A

Return Value

String


AutoRefreshInterval

Summary

N/A

Remarks

N/A

Return Value

TimeSpan


CanRefreshRegion

Summary

N/A

Remarks

N/A

Return Value

Boolean


DrawingExceptionMode

Summary

N/A

Remarks

N/A

Return Value

DrawingExceptionMode


DrawingQuality

Summary

N/A

Remarks

N/A

Return Value

DrawingQuality


InteractiveView

Summary

N/A

Remarks

N/A

Return Value

TileView


IsEmpty

Summary

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

Remarks

N/A

Return Value

Boolean


IsInTracking

Summary

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

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


TrackMode

Summary

Gets a mode of TrackOverlay.

Remarks

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

Return Value

TrackMode


TrackShapeLayer

Summary

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

Remarks

N/A

Return Value

InMemoryFeatureLayer


Protected Properties

Vertices

Summary

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

Remarks

N/A

Return Value

Collection<Vertex>


Public Methods

CancelTracking()

Summary

Cancels the tracking.

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

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

GetTrackingShape()

Summary

This method gets the current Tracking shape.

Remarks

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

Return Value

Type Description
BaseShape Returns a shape represents the current status of tracking shape.

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

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

Releases unmanaged and - optionally - managed resources.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
disposing Boolean true to release both managed and unmanaged resources; false to release only unmanaged resources.

DoubleTapCore(InteractionArguments)

Summary

N/A

Remarks

N/A

Return Value

Type Description
InteractiveResult N/A

Parameters

Name Type Description
e InteractionArguments N/A

DrawCore(MapArguments,OverlayRefreshType)

Summary

This method draws the TrackInterativeOverlay.

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

EndTracking()

Summary

This method ends the tracking shape by initialize some variables.

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

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

Finalize()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A 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

GetTrackingShapeCore()

Summary

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

Remarks

N/A

Return Value

Type Description
BaseShape Returns a shape represents the current status of tracking shape.

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

This overrides the MouseDoubleClick 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.

MemberwiseClone()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Object N/A

Parameters

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

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

OnTouchMoved(TouchMovedTrackInteractiveOverlayEventArgs)

Summary

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

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e TouchMovedTrackInteractiveOverlayEventArgs The MouseMovedTrackInteractiveOverlayEventArgs passed for the event raised.

OnTrackEnded(TrackEndedTrackInteractiveOverlayEventArgs)

Summary

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

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

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

OnTrackEnding(TrackEndingTrackInteractiveOverlayEventArgs)

Summary

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

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

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

OnTrackStarted(TrackStartedTrackInteractiveOverlayEventArgs)

Summary

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

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

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

OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs)

Summary

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

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

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

OnVertexAdded(VertexAddedTrackInteractiveOverlayEventArgs)

Summary

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

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

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

OnVertexAdding(VertexAddingTrackInteractiveOverlayEventArgs)

Summary

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

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e VertexAddingTrackInteractiveOverlayEventArgs The VertexAddingTrackInteractiveOverlayEventArgs 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

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

TrackEnded

N/A

Remarks

N/A

Event Arguments

TrackEndedTrackInteractiveOverlayEventArgs

TrackEnding

N/A

Remarks

N/A

Event Arguments

TrackEndingTrackInteractiveOverlayEventArgs

TrackStarted

N/A

Remarks

N/A

Event Arguments

TrackStartedTrackInteractiveOverlayEventArgs

TrackStarting

N/A

Remarks

N/A

Event Arguments

TrackStartingTrackInteractiveOverlayEventArgs

VertexAdded

N/A

Remarks

N/A

Event Arguments

VertexAddedTrackInteractiveOverlayEventArgs

VertexAdding

N/A

Remarks

N/A

Event Arguments

VertexAddingTrackInteractiveOverlayEventArgs

TouchMoved

N/A

Remarks

N/A

Event Arguments

TouchMovedTrackInteractiveOverlayEventArgs

DrawingException

N/A

Remarks

N/A

Event Arguments

DrawingExceptionOverlayEventArgs

DrawnException

N/A

Remarks

N/A

Event Arguments

DrawnExceptionOverlayEventArgs