====== ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay ====== {{section>upgrade_map_suite_to_10.0}} This class inherits from InterativeOverlay abstract class. This specified overlay describle the TrackShape interative process with MapControl using Mouse or Keyborad. ===== Inheritance Hierarchy ===== *System.Object **[[ThinkGeo.MapSuite.FormsEdition.Overlay]] ***[[ThinkGeo.MapSuite.FormsEdition.InteractiveOverlay]] ****[[ThinkGeo.MapSuite.FormsEdition.TrackInteractiveOverlay]] ===== Members Summary ===== ==== Public Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#TrackInteractiveOverlay()|TrackInteractiveOverlay]] | | | Initializes a new instance of the class. | | {{wiki:PublicMethod.gif|Public Method}}[[#TrackInteractiveOverlay(TrackInteractiveOverlayAdapter)|TrackInteractiveOverlay]] | [[ThinkGeo.MapSuite.FormsEdition.Adapters.TrackInteractiveOverlayAdapter|TrackInteractiveOverlayAdapter]] | | Initializes a new instance of the class. | ==== Protected Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ ==== Public Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetBoundingBox()|GetBoundingBox]] | | [[ThinkGeo.MapSuite.FormsEdition.Overlay|Overlay]] | Gets the bounding box. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh()|Refresh]] | | [[ThinkGeo.MapSuite.FormsEdition.Overlay|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. | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | ==== Protected Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnMouseMoved(MouseMovedTrackInteractiveOverlayEventArgs)|OnMouseMoved]] | [[ThinkGeo.MapSuite.FormsEdition.MouseMovedTrackInteractiveOverlayEventArgs|MouseMovedTrackInteractiveOverlayEventArgs]] | | Handles the event. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnTrackEnded(TrackEndedTrackInteractiveOverlayEventArgs)|OnTrackEnded]] | [[ThinkGeo.MapSuite.FormsEdition.TrackEndedTrackInteractiveOverlayEventArgs|TrackEndedTrackInteractiveOverlayEventArgs]] | | Handles the event. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnTrackEnding(TrackEndingTrackInteractiveOverlayEventArgs)|OnTrackEnding]] | [[ThinkGeo.MapSuite.FormsEdition.TrackEndingTrackInteractiveOverlayEventArgs|TrackEndingTrackInteractiveOverlayEventArgs]] | | Handles the event. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnTrackStarted(TrackStartedTrackInteractiveOverlayEventArgs)|OnTrackStarted]] | [[ThinkGeo.MapSuite.FormsEdition.TrackStartedTrackInteractiveOverlayEventArgs|TrackStartedTrackInteractiveOverlayEventArgs]] | | Handles the event. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs)|OnTrackStarting]] | [[ThinkGeo.MapSuite.FormsEdition.TrackStartingTrackInteractiveOverlayEventArgs|TrackStartingTrackInteractiveOverlayEventArgs]] | | Handles the event. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnVertexAdded(VertexAddedTrackInteractiveOverlayEventArgs)|OnVertexAdded]] | [[ThinkGeo.MapSuite.FormsEdition.VertexAddedTrackInteractiveOverlayEventArgs|VertexAddedTrackInteractiveOverlayEventArgs]] | | Handles the event. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnVertexAdding(VertexAddingTrackInteractiveOverlayEventArgs)|OnVertexAdding]] | [[ThinkGeo.MapSuite.FormsEdition.VertexAddingTrackInteractiveOverlayEventArgs|VertexAddingTrackInteractiveOverlayEventArgs]] | | Handles the event. | ==== Public Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ | {{wiki:PublicProperty.gif|Public Property}}[[#Adapter|Adapter]] | [[ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter|MapElementAdapter]] | [[ThinkGeo.MapSuite.FormsEdition.Overlay|Overlay]] | Gets the adapter. | | {{wiki:PublicProperty.gif|Public Property}}[[#IsVisible|IsVisible]] | Boolean | [[ThinkGeo.MapSuite.FormsEdition.Overlay|Overlay]] | Gets or sets a value indicating whether this instance is visible. | | {{wiki:PublicProperty.gif|Public Property}}[[#Name|Name]] | String | [[ThinkGeo.MapSuite.FormsEdition.Overlay|Overlay]] | Gets or sets the name. | | {{wiki:PublicProperty.gif|Public Property}}[[#TrackMode|TrackMode]] | [[ThinkGeo.MapSuite.FormsEdition.TrackMode|TrackMode]] | | Gets a mode of TrackOverlay. | | {{wiki:PublicProperty.gif|Public Property}}[[#TrackShapeLayer|TrackShapeLayer]] | [[ThinkGeo.MapSuite.Core.InMemoryFeatureLayer|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 ^ | {{wiki:PublicEvent.gif|Public Event}}[[#MouseMoved|MouseMoved]] | [[ThinkGeo.MapSuite.FormsEdition.MouseMovedTrackInteractiveOverlayEventArgs|MouseMovedTrackInteractiveOverlayEventArgs]] | | This event will be fired when mouse moved on the vertex of tracking shape. | | {{wiki:PublicEvent.gif|Public Event}}[[#TrackEnded|TrackEnded]] | [[ThinkGeo.MapSuite.FormsEdition.TrackEndedTrackInteractiveOverlayEventArgs|TrackEndedTrackInteractiveOverlayEventArgs]] | | This event will be fired after the end of tracking shape. | | {{wiki:PublicEvent.gif|Public Event}}[[#TrackEnding|TrackEnding]] | [[ThinkGeo.MapSuite.FormsEdition.TrackEndingTrackInteractiveOverlayEventArgs|TrackEndingTrackInteractiveOverlayEventArgs]] | | This event will be fired before the end of tracking shape. | | {{wiki:PublicEvent.gif|Public Event}}[[#TrackStarted|TrackStarted]] | [[ThinkGeo.MapSuite.FormsEdition.TrackStartedTrackInteractiveOverlayEventArgs|TrackStartedTrackInteractiveOverlayEventArgs]] | | This event will be fired after the start of tracking shape. | | {{wiki:PublicEvent.gif|Public Event}}[[#TrackStarting|TrackStarting]] | [[ThinkGeo.MapSuite.FormsEdition.TrackStartingTrackInteractiveOverlayEventArgs|TrackStartingTrackInteractiveOverlayEventArgs]] | | This event will be fired before the start of tracking shape. | | {{wiki:PublicEvent.gif|Public Event}}[[#VertexAdded|VertexAdded]] | [[ThinkGeo.MapSuite.FormsEdition.VertexAddedTrackInteractiveOverlayEventArgs|VertexAddedTrackInteractiveOverlayEventArgs]] | | This event will be fired after a vertex added to the tracking shape. | | {{wiki:PublicEvent.gif|Public Event}}[[#VertexAdding|VertexAdding]] | [[ThinkGeo.MapSuite.FormsEdition.VertexAddingTrackInteractiveOverlayEventArgs|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 ^ [[#Public Constructors|Go Back]] ==== TrackInteractiveOverlay(TrackInteractiveOverlayAdapter) ==== Initializes a new instance of the class. === Parameters === ^ Name ^ Type ^ Description ^ | adapter | [[ThinkGeo.MapSuite.FormsEdition.Adapters.TrackInteractiveOverlayAdapter|TrackInteractiveOverlayAdapter]] | Represents interactiveOverlay adapter. | [[#Public Constructors|Go Back]] ===== Protected Constructors ===== ===== Public Methods ===== ==== Equals(Object) ==== === Return Value === ^ Return Type ^ Description ^ | Boolean | | === Parameters === ^ Name ^ Type ^ Description ^ | obj | Object | | [[#Public Methods|Go Back]] ==== GetBoundingBox() ==== Gets the bounding box. === Return Value === ^ Return Type ^ Description ^ | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | RectangleShape. | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetHashCode() ==== === Return Value === ^ Return Type ^ Description ^ | Int32 | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetType() ==== === Return Value === ^ Return Type ^ Description ^ | Type | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|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 | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== ToString() ==== === Return Value === ^ Return Type ^ Description ^ | String | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ===== Protected Methods ===== ==== Finalize() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== MemberwiseClone() ==== === Return Value === ^ Return Type ^ Description ^ | Object | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== OnMouseMoved(MouseMovedTrackInteractiveOverlayEventArgs) ==== Handles the event. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.FormsEdition.MouseMovedTrackInteractiveOverlayEventArgs|MouseMovedTrackInteractiveOverlayEventArgs]] | The instance containing the event data. | [[#Protected Methods|Go Back]] ==== OnTrackEnded(TrackEndedTrackInteractiveOverlayEventArgs) ==== Handles the event. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.FormsEdition.TrackEndedTrackInteractiveOverlayEventArgs|TrackEndedTrackInteractiveOverlayEventArgs]] | The instance containing the event data. | [[#Protected Methods|Go Back]] ==== OnTrackEnding(TrackEndingTrackInteractiveOverlayEventArgs) ==== Handles the event. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.FormsEdition.TrackEndingTrackInteractiveOverlayEventArgs|TrackEndingTrackInteractiveOverlayEventArgs]] | The instance containing the event data. | [[#Protected Methods|Go Back]] ==== OnTrackStarted(TrackStartedTrackInteractiveOverlayEventArgs) ==== Handles the event. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.FormsEdition.TrackStartedTrackInteractiveOverlayEventArgs|TrackStartedTrackInteractiveOverlayEventArgs]] | The instance containing the event data. | [[#Protected Methods|Go Back]] ==== OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs) ==== Handles the event. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.FormsEdition.TrackStartingTrackInteractiveOverlayEventArgs|TrackStartingTrackInteractiveOverlayEventArgs]] | The instance containing the event data. | [[#Protected Methods|Go Back]] ==== OnVertexAdded(VertexAddedTrackInteractiveOverlayEventArgs) ==== Handles the event. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.FormsEdition.VertexAddedTrackInteractiveOverlayEventArgs|VertexAddedTrackInteractiveOverlayEventArgs]] | The instance containing the event data. | [[#Protected Methods|Go Back]] ==== OnVertexAdding(VertexAddingTrackInteractiveOverlayEventArgs) ==== Handles the event. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.FormsEdition.VertexAddingTrackInteractiveOverlayEventArgs|VertexAddingTrackInteractiveOverlayEventArgs]] | The instance containing the event data. | [[#Protected Methods|Go Back]] ===== Public Properties ===== ==== Adapter ==== Gets the adapter. === Return Value === ^ Return Type ^ | [[ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter|MapElementAdapter]] | [[#Public Properties|Go Back]] ==== IsVisible ==== Gets or sets a value indicating whether this instance is visible. === Return Value === ^ Return Type ^ | Boolean | [[#Public Properties|Go Back]] ==== Name ==== Gets or sets the name. === Return Value === ^ Return Type ^ | String | [[#Public Properties|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 ^ | [[ThinkGeo.MapSuite.FormsEdition.TrackMode|TrackMode]] | [[#Public Properties|Go Back]] ==== TrackShapeLayer ==== This property gets the TrackShape layers which holds the track shapes. === Return Value === ^ Return Type ^ | [[ThinkGeo.MapSuite.Core.InMemoryFeatureLayer|InMemoryFeatureLayer]] | [[#Public Properties|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 ^ | [[ThinkGeo.MapSuite.FormsEdition.MouseMovedTrackInteractiveOverlayEventArgs|MouseMovedTrackInteractiveOverlayEventArgs]] | [[#Public Events|Go Back]] ==== TrackEnded ==== This event will be fired after the end of tracking shape. === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.FormsEdition.TrackEndedTrackInteractiveOverlayEventArgs|TrackEndedTrackInteractiveOverlayEventArgs]] | [[#Public Events|Go Back]] ==== TrackEnding ==== This event will be fired before the end of tracking shape. === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.FormsEdition.TrackEndingTrackInteractiveOverlayEventArgs|TrackEndingTrackInteractiveOverlayEventArgs]] | [[#Public Events|Go Back]] ==== TrackStarted ==== This event will be fired after the start of tracking shape. === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.FormsEdition.TrackStartedTrackInteractiveOverlayEventArgs|TrackStartedTrackInteractiveOverlayEventArgs]] | [[#Public Events|Go Back]] ==== TrackStarting ==== This event will be fired before the start of tracking shape. === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.FormsEdition.TrackStartingTrackInteractiveOverlayEventArgs|TrackStartingTrackInteractiveOverlayEventArgs]] | [[#Public Events|Go Back]] ==== VertexAdded ==== This event will be fired after a vertex added to the tracking shape. === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.FormsEdition.VertexAddedTrackInteractiveOverlayEventArgs|VertexAddedTrackInteractiveOverlayEventArgs]] | [[#Public Events|Go Back]] ==== VertexAdding ==== This event will be fired before a vertex added to the tracking shape. === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.FormsEdition.VertexAddingTrackInteractiveOverlayEventArgs|VertexAddingTrackInteractiveOverlayEventArgs]] | [[#Public Events|Go Back]] __NOTOC__ [[Category:MapSuiteFormsEdition]] [[Category:ThinkGeo.MapSuite.FormsEdition]] [[Category:UpdateDocumentation]]