User Tools

Site Tools


thinkgeo.mapsuite.formsedition.trackinteractiveoverlay

ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay

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.

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

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodTrackInteractiveOverlay Initializes a new instance of the class.
Public MethodTrackInteractiveOverlay TrackInteractiveOverlayAdapter Initializes a new instance of the class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetBoundingBox Overlay Gets the bounding box.
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodRefresh Overlay This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.
Public MethodToString Object

Protected Methods

Public Properties

Name Return DeclaringType Summary
Public PropertyAdapter MapElementAdapter Overlay Gets the adapter.
Public PropertyIsVisible Boolean Overlay Gets or sets a value indicating whether this instance is visible.
Public PropertyName String Overlay Gets or sets the name.
Public PropertyTrackMode TrackMode Gets a mode of TrackOverlay.
Public PropertyTrackShapeLayer InMemoryFeatureLayer This property gets the TrackShape layers which holds the track shapes.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary
Public EventMouseMoved MouseMovedTrackInteractiveOverlayEventArgs This event will be fired when mouse moved on the vertex of tracking shape.
Public EventTrackEnded TrackEndedTrackInteractiveOverlayEventArgs This event will be fired after the end of tracking shape.
Public EventTrackEnding TrackEndingTrackInteractiveOverlayEventArgs This event will be fired before the end of tracking shape.
Public EventTrackStarted TrackStartedTrackInteractiveOverlayEventArgs This event will be fired after the start of tracking shape.
Public EventTrackStarting TrackStartingTrackInteractiveOverlayEventArgs This event will be fired before the start of tracking shape.
Public EventVertexAdded VertexAddedTrackInteractiveOverlayEventArgs This event will be fired after a vertex added to the tracking shape.
Public EventVertexAdding VertexAddingTrackInteractiveOverlayEventArgs This event will be fired before a vertex added to the tracking shape.

Public Constructors

TrackInteractiveOverlay()

Initializes a new instance of the class.

Parameters

Name Type Description

Go Back

TrackInteractiveOverlay(TrackInteractiveOverlayAdapter)

Initializes a new instance of the class.

Parameters

Name Type Description
adapter TrackInteractiveOverlayAdapter<!– ThinkGeo.MapSuite.FormsEdition.Adapters.TrackInteractiveOverlayAdapter –> Represents interactiveOverlay adapter.

Go Back

Protected Constructors

Public Methods

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 –> RectangleShape.

Parameters

Name Type Description

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

Refresh()

This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.

Remarks

The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not.

Return Value

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

Parameters

Name Type Description

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

ToString()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

OnMouseMoved(MouseMovedTrackInteractiveOverlayEventArgs)

Handles the event.

Return Value

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

Parameters

Name Type Description
e MouseMovedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.MouseMovedTrackInteractiveOverlayEventArgs –> The instance containing the event data.

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

OnTrackEnded(TrackEndedTrackInteractiveOverlayEventArgs)

Handles the event.

Return Value

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

Parameters

Name Type Description
e TrackEndedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TrackEndedTrackInteractiveOverlayEventArgs –> The instance containing the event data.

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

OnTrackEnding(TrackEndingTrackInteractiveOverlayEventArgs)

Handles the event.

Return Value

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

Parameters

Name Type Description
e TrackEndingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TrackEndingTrackInteractiveOverlayEventArgs –> The instance containing the event data.

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

OnTrackStarted(TrackStartedTrackInteractiveOverlayEventArgs)

Handles the event.

Return Value

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

Parameters

Name Type Description
e TrackStartedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TrackStartedTrackInteractiveOverlayEventArgs –> The instance containing the event data.

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs)

Handles the event.

Return Value

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

Parameters

Name Type Description
e TrackStartingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TrackStartingTrackInteractiveOverlayEventArgs –> The instance containing the event data.

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

OnVertexAdded(VertexAddedTrackInteractiveOverlayEventArgs)

Handles the event.

Return Value

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

Parameters

Name Type Description
e VertexAddedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.VertexAddedTrackInteractiveOverlayEventArgs –> The instance containing the event data.

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

OnVertexAdding(VertexAddingTrackInteractiveOverlayEventArgs)

Handles the event.

Return Value

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

Parameters

Name Type Description
e VertexAddingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.VertexAddingTrackInteractiveOverlayEventArgs –> The instance containing the event data.

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

Public Properties

Adapter

Gets the adapter.

Return Value

Return Type
MapElementAdapter<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter –>

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

IsVisible

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

Return Value

Return Type
Boolean<!– System.Boolean –>

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

Name

Gets or sets the name.

Return Value

Return Type
String<!– System.String –>

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

TrackMode

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

Return Type
TrackMode<!– ThinkGeo.MapSuite.FormsEdition.TrackMode –>

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

TrackShapeLayer

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

Return Value

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

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

Protected Properties

Public Events

MouseMoved

This event will be fired when mouse moved on the vertex of tracking shape.

Event Arguments

Event Arguments
MouseMovedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.MouseMovedTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

TrackEnded

This event will be fired after the end of tracking shape.

Event Arguments

Event Arguments
TrackEndedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TrackEndedTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

TrackEnding

This event will be fired before the end of tracking shape.

Event Arguments

Event Arguments
TrackEndingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TrackEndingTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

TrackStarted

This event will be fired after the start of tracking shape.

Event Arguments

Event Arguments
TrackStartedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TrackStartedTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

TrackStarting

This event will be fired before the start of tracking shape.

Event Arguments

Event Arguments
TrackStartingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.TrackStartingTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

VertexAdded

This event will be fired after a vertex added to the tracking shape.

Event Arguments

Event Arguments
VertexAddedTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.VertexAddedTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

VertexAdding

This event will be fired before a vertex added to the tracking shape.

Event Arguments

Event Arguments
VertexAddingTrackInteractiveOverlayEventArgs<!– ThinkGeo.MapSuite.FormsEdition.VertexAddingTrackInteractiveOverlayEventArgs –>

<!– ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay –> Go Back

NOTOC MapSuiteFormsEdition ThinkGeo.MapSuite.FormsEdition UpdateDocumentation

thinkgeo.mapsuite.formsedition.trackinteractiveoverlay.txt · Last modified: 2017/03/16 21:59 (external edit)