User Tools

Site Tools


thinkgeo.mapsuite.wpfdesktopedition.trackinteractiveoverlay

ThinkGeo.MapSuite.WpfDesktopEdition.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.

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.WpfDesktopEdition.Overlay
      • ThinkGeo.MapSuite.WpfDesktopEdition.InteractiveOverlay
        • ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay

Members Summary

Public Constructors

TrackInteractiveOverlay()

  • Default constructor of the class. If you use this constructor, please set the properties correctly or it will use their default values.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#TrackInteractiveOverlay.28.29
Parameters

Protected Constructors

Public Methods

GetTrackingShape()

  • 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:BaseShape
  • Description:Returns a shape represents the current status of tracking shape.
Parameters

MouseDown(InteractionArguments)

  • This method will simulate the MouseDown interaction.
Remarks
  • This method is the concrete wrapper for its virtual Core method. 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
  • interactionArguments

MouseMove(InteractionArguments)

  • This method will simulate the MouseMove interaction.
Remarks
  • This method is the concrete wrapper for its virtual Core method. 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
  • interactionArguments

ManipulationStarted(InteractionArguments)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
Parameters

ManipulationDelta(InteractionArguments)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
Parameters

ManipulationCompleted(InteractionArguments)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
Parameters

MouseUp(InteractionArguments)

  • This method will simulate the MouseUp interaction.
Remarks
  • This method is the concrete wrapper for its virtual Core method. 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
  • interactionArguments

MouseClick(InteractionArguments)

  • This method will simulate the MouseClick interaction.
Remarks
  • This method is the concrete wrapper for its virtual Core method. 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
  • interactionArguments

MouseDoubleClick(InteractionArguments)

  • This method will simulate the MouseDoubleClick interaction.
Remarks
  • This method is the concrete wrapper for its virtual Core method. 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
  • interactionArguments

MouseWheel(InteractionArguments)

  • This method will simulate the MouseWheel interaction.
Remarks
  • This method is the concrete wrapper for its virtual Core method. 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
  • interactionArguments

MouseLeave(InteractionArguments)

  • Occurs when the mouse leave the map.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#MouseLeave.28InteractionArguments.29
Return Value
Parameters
  • interactionArguments

MouseEnter(InteractionArguments)

  • Occurs when the mouse enter the map.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#MouseEnter.28InteractionArguments.29
Return Value
  • Description:A interactive result for mouse entering the map.
Parameters
  • interactionArguments

KeyUp(KeyEventInteractionArguments)

  • Occurs when key up on the map.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#KeyUp.28KeyEventInteractionArguments.29
Return Value
Parameters

KeyDown(KeyEventInteractionArguments)

  • Occurs when key down on the map.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#KeyDown.28KeyEventInteractionArguments.29
Return Value
Parameters

Refresh(IEnumerable<RectangleShape>)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters

Refresh(TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Refresh.28TimeSpan.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(RectangleShape,TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Refresh.28RectangleShape.2C_TimeSpan.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(IEnumerable<RectangleShape>,TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Initialize(MapArguments)

  • This method initializes overlay object.
Remarks
  • This is a wrapper method for the virtual method InitializeCore.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • mapArguments
    • Description:This parameter maintains current map information for calculating mechanism.

Refresh(RectangleShape)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Refresh.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

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
  • Type:Void
  • Description:N/A
Parameters

Close()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Close.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Open()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Open.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Draw(RectangleShape)

  • This method draws the overlay with the provided extent in world coordinate.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Draw.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter indicates an extent in world coordinate for drawing the overlay.

Draw(RectangleShape,OverlayRefreshType)

  • This method draws the overlay with the provided extent in world coordinate.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Draw.28RectangleShape.2C_OverlayRefreshType.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter indicates an extent in world coordinate for drawing the overlay.
  • refreshType
    • Description:This parameter indicates whether the elements of this overlay needs to be refreshed. For example, TileOverlay is formed by tiles. When panning the map around, the existing tile doesn't need to be redraw, the only thing we need to do is modifying the position of these tiles. On another hand, when click to change the style of the overlay, we need to redraw the tile images to change the appearance. So we need refresh mode.

PanTo(RectangleShape)

  • This method pans the overlay to the provided world extent.
Remarks
  • Some overlay doesn't need to continously drawing all the tile. For example, MarkerOverlay is formed by markers. When mouse down to pan, the markers don't need to redraw, we can only change its position. When mouse up to end panning, we can redraw the overlay for better performance.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter is the target world extent for panning.

GetBoundingBox()

  • This method gets a bounding box of the Overlay.
Remarks
  • This method is the concrete wrapper for the abstract method GetBoundingBoxCore. This method returns the bounding box of the Overlay. 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
  • Description:A RectangleShape indicating the bounding box of this overlay
Parameters

SaveState()

  • This method saves overlay state to a byte array.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#SaveState.28.29
Return Value
  • Type:Byte[]
  • Description:A byte array indicates current overlay state.
Parameters

LoadState(Byte[])

  • This method restore the overlay state back from the specified state.
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • state
    • Type:Byte[]
    • Description:This parameter indicates the state for restore the overlay.

Dispose()

  • This method dispose unmanaged resource used in this class.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Dispose.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

ToString()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#ToString.28.29
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Equals.28Object.29
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#GetHashCode.28.29
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#GetType.28.29
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

EndTracking()

  • This method ends the tracking shape by initialize some variables.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#EndTracking.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

MouseDownCore(InteractionArguments)

  • This overrides the MouseDown logic in its base class InterativeOverlay.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#MouseDownCore.28InteractionArguments.29
Return Value
Parameters
  • interactionArguments

MouseMoveCore(InteractionArguments)

  • This overrides the MouseMove logic in its base class InterativeOverlay.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#MouseMoveCore.28InteractionArguments.29
Return Value
Parameters
  • interactionArguments

MouseUpCore(InteractionArguments)

  • This overrides the MouseUp logic in its base class InterativeOverlay.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#MouseUpCore.28InteractionArguments.29
Return Value
Parameters
  • interactionArguments

MouseClickCore(InteractionArguments)

  • This overrides the MouseClick logic in its base class.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#MouseClickCore.28InteractionArguments.29
Return Value
Parameters
  • interactionArguments

MouseDoubleClickCore(InteractionArguments)

  • This overrides the MouseDoubleClick logic in its base class InterativeOverlay.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#MouseDoubleClickCore.28InteractionArguments.29
Return Value
Parameters
  • interactionArguments

GetTrackingShapeCore()

  • 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
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#GetTrackingShapeCore.28.29
Return Value
  • Type:BaseShape
  • Description:Returns a shape represents the current status of tracking shape.
Parameters

OnTrackEnded(TrackEndedTrackInteractiveOverlayEventArgs)

  • This event will be fired after the end of Tracking a shape.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnTrackEnded.28TrackEndedTrackInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnTrackEnding(TrackEndingTrackInteractiveOverlayEventArgs)

  • This event will be fired before the end of Tracking a shape.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnTrackEnding.28TrackEndingTrackInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs)

  • This event will be fired before the start of Tracking a shape.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnTrackStarting.28TrackStartingTrackInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnTrackStarted(TrackStartedTrackInteractiveOverlayEventArgs)

  • This event will be fired after the start of Tracking a shape.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnTrackStarted.28TrackStartedTrackInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnVertexAdding(VertexAddingTrackInteractiveOverlayEventArgs)

  • This event will be fired before adding a vertex to the Tracking shape.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnVertexAdding.28VertexAddingTrackInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnVertexAdded(VertexAddedTrackInteractiveOverlayEventArgs)

  • This event will be fired after adding a vertex to the Tracking shape.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnVertexAdded.28VertexAddedTrackInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnMouseMoved(MouseMovedTrackInteractiveOverlayEventArgs)

  • This event will be fired when mouse moved a vertex to the Tracking shape.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMouseMoved.28MouseMovedTrackInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

ManipulationStartedCore(InteractionArguments)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
Parameters

ManipulationDeltaCore(InteractionArguments)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
Parameters

ManipulationCompletedCore(InteractionArguments)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
Parameters

DrawCore(RectangleShape,OverlayRefreshType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#DrawCore.28RectangleShape.2C_OverlayRefreshType.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawTileCore(GeoCanvas)

  • This methods draws tracking shapes on the map.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#DrawTileCore.28GeoCanvas.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • geoCanvas
    • Type:GeoCanvas
    • Description:The drawing context for drawing shapes.

SaveStateCore()

  • This method saves overlay state to a byte array.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#SaveStateCore.28.29
Return Value
  • Type:Byte[]
  • Description:A byte array indicates current overlay state.
Parameters

LoadStateCore(Byte[])

  • This method restore the overlay state back from the specified state.
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • state
    • Type:Byte[]
    • Description:This parameter indicates the state for restore the overlay.

Dispose(Boolean)

  • This method disposes unmanaged resourece in this object.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Dispose.28Boolean.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • disposing
    • Type:Boolean
    • Description:N/A

MouseWheelCore(InteractionArguments)

  • This protected virtual method is the Core method of MouseWheel API.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#MouseWheelCore.28InteractionArguments.29
Return Value
Parameters
  • interactionArguments

MouseLeaveCore(InteractionArguments)

  • Occurs when the mouse leave the map.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#MouseLeaveCore.28InteractionArguments.29
Return Value
Parameters
  • interactionArguments

MouseEnterCore(InteractionArguments)

  • Occurs when the mouse enter the map.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#MouseEnterCore.28InteractionArguments.29
Return Value
  • Description:A interactive result for mouse entering the map.
Parameters
  • interactionArguments

KeyUpCore(KeyEventInteractionArguments)

  • Occurs when key up on the map.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#KeyUpCore.28KeyEventInteractionArguments.29
Return Value
Parameters

KeyDownCore(KeyEventInteractionArguments)

  • Occurs when key down on the map.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#KeyDownCore.28KeyEventInteractionArguments.29
Return Value
Parameters

OnMapMouseDown(MapMouseDownInteractiveOverlayEventArgs)

  • This event will be fired when MapMouseDown is called.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseDown.28MapMouseDownInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnMapMouseMove(MapMouseMoveInteractiveOverlayEventArgs)

  • This event will be fired when MapMouseMove is called.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseMove.28MapMouseMoveInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnMapMouseUp(MapMouseUpInteractiveOverlayEventArgs)

  • This event will be fired when MapMouseUp is called.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseUp.28MapMouseUpInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnMapMouseClick(MapMouseClickInteractiveOverlayEventArgs)

  • This event will be fired when MapMouseClick is called.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseClick.28MapMouseClickInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnMapMouseDoubleClick(MapMouseDoubleClickInteractiveOverlayEventArgs)

  • This event will be fired when MapMouseDoubleClick is called.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseDoubleClick.28MapMouseDoubleClickInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnMapMouseWheel(MapMouseWheelInteractiveOverlayEventArgs)

  • This event will be fired when MapMouseWheel is called.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseWheel.28MapMouseWheelInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnMapMouseLeave(MapMouseLeaveInteractiveOverlayEventArgs)

  • Occurs when mouse leave from the map object.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseLeave.28MapMouseLeaveInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnMapMouseEnter(MapMouseEnterInteractiveOverlayEventArgs)

  • Occurs when mouse enter on the map object.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseEnter.28MapMouseEnterInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnMapKeyUp(MapKeyUpInteractiveOverlayEventArgs)

  • Occurs when key up on the map object.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapKeyUp.28MapKeyUpInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnMapKeyDown(MapKeyDownInteractiveOverlayEventArgs)

  • Occurs when key down on the map object.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapKeyDown.28MapKeyDownInteractiveOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

LhQ=(LayerTile)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

IhQ=(RectangleShape,Double)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • resolution
    • Type:Double
    • Description:N/A

InitializeCore(MapArguments)

  • This method initializes overlay object.
Remarks
  • When implementing this method, consider initializing the overlay canvas such as setting its z-index, setting current map reference to the CurrentMap property.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • mapArguments
    • Description:This parameter maintains current map information for calculating mechanism.

RefreshCore(RectangleShape)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#RefreshCore.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

RefreshCore()

  • 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
  • Type:Void
  • Description:N/A
Parameters

CloseCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#CloseCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OpenCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OpenCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

4hM=(GeoCanvas)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawAttributionCore(GeoCanvas)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#DrawAttributionCore.28GeoCanvas.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawingAttribution(DrawingAttributionOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnDrawingAttribution.28DrawingAttributionOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnAttribution(DrawnAttributionOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnDrawnAttribution.28DrawnAttributionOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

PanToCore(RectangleShape)

  • This method pans the overlay to the provided world extent.
Remarks
  • Some overlay doesn't need to continously drawing all the tile. For example, MarkerOverlay is formed by markers. When mouse down to pan, the markers don't need to redraw, we can only change its position. When mouse up to end panning, we can redraw the overlay for better performance.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter is the target world extent for panning.

OnDrawing(DrawingOverlayEventArgs)

  • This method raises before the overlay is drawing.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnDrawing.28DrawingOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawn(DrawnOverlayEventArgs)

  • This method raises after the overlay is drawn.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnDrawn.28DrawnOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetBoundingBoxCore()

  • This method returns the bounding box of the Overlay.
Remarks
  • This method returns the bounding box of the Overlay.
Return Value
  • Description:This method returns the bounding box of the Overlay.
Parameters

Finalize()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Finalize.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnRefreshing(OverlayRefreshType)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#MemberwiseClone.28.29
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

IsEmpty

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

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#IsEmpty

Return Value
  • Type:Boolean

TrackShapeLayer

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

Remarks
Return Value

TrackShapesInProcessLayer

N/A

Remarks
Return Value

MouseDownCount

Gets and sets the the times of mouse click.

Remarks
Return Value
  • Type:Int32

VertexCountInQuarter

N/A

Remarks

For the most updated Info for this topic, please check it here:

Return Value
  • Type:Int32

PolygonTrackMode

N/A

Remarks
Return Value

TrackMode

Gets a mode of TrackOverlay.

Remarks

The default mode is TrackMode.None which means you cannot draw or edit features. 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.

Return Value

DrawingMarginPercentage

N/A

Remarks

For the most updated Info for this topic, please check it here:

Return Value
  • Type:Double

RenderMode

This property gets and sets the render mode for drawing this overlay.

Remarks

Set GdiPlus to render map image with Gdi+. We recommend use this value with large data. Set DrawingVisual to render map image with DrawingVisual feature in WPF. Use it when the spatial data is small to get better responding.

Return Value

AutoRefreshInterval

N/A

Remarks
Return Value
  • Type:TimeSpan

Name

Gets or sets the name of this overaly.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#Name

Return Value
  • Type:String

MapArguments

Gets or sets current map information which will be used for calculating mechanism.

Remarks
Return Value

OverlayCanvas

Gets or sets the actual canvas which maintains all the visual elements on the overlay.

Remarks
Return Value
  • Type:Canvas

IsBase

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#IsBase

Return Value
  • Type:Boolean

CanRefreshRegion

N/A

Remarks
Return Value
  • Type:Boolean

DrawingExceptionMode

This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing.

Remarks
Return Value

IsVisible

Gets or sets if this overlay is visible.

Remarks
Return Value
  • Type:Boolean

Attribution

N/A

Remarks
Return Value
  • Type:String

Protected Properties

Vertices

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
Return Value

PreviousExtent

Gets or sets the previous exent of the overlay.

Remarks
Return Value

3BM=

N/A

Remarks

N/A

Return Value
  • Type:Double

IsOverlayInitialized

Gets or sets if the overlay canvas is initialized.

Remarks
Return Value
  • Type:Boolean

Public Events

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

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnTrackEnded.28TrackEndedTrackInteractiveOverlayEventArgs.29

Event Arguments:TrackEndedTrackInteractiveOverlayEventArgs

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

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnTrackEnding.28TrackEndingTrackInteractiveOverlayEventArgs.29

Event Arguments:TrackEndingTrackInteractiveOverlayEventArgs

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

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnTrackStarted.28TrackStartedTrackInteractiveOverlayEventArgs.29

Event Arguments:TrackStartedTrackInteractiveOverlayEventArgs

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

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnTrackStarting.28TrackStartingTrackInteractiveOverlayEventArgs.29

Event Arguments:TrackStartingTrackInteractiveOverlayEventArgs

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

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnVertexAdded.28VertexAddedTrackInteractiveOverlayEventArgs.29

Event Arguments:VertexAddedTrackInteractiveOverlayEventArgs

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

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnVertexAdding.28VertexAddingTrackInteractiveOverlayEventArgs.29

Event Arguments:VertexAddingTrackInteractiveOverlayEventArgs

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

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMouseMoved.28MouseMovedTrackInteractiveOverlayEventArgs.29

Event Arguments:MouseMovedTrackInteractiveOverlayEventArgs

MapMouseDown This event will be fired when Mouse pressed Down on the Map.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseDown.28MapMouseDownInteractiveOverlayEventArgs.29

Event Arguments:MapMouseDownInteractiveOverlayEventArgs

MapMouseMove This event will be fired when Mouse moved on the Map.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseMove.28MapMouseMoveInteractiveOverlayEventArgs.29

Event Arguments:MapMouseMoveInteractiveOverlayEventArgs

MapMouseUp This event will be fired when Mouse released up on the Map.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseUp.28MapMouseUpInteractiveOverlayEventArgs.29

Event Arguments:MapMouseUpInteractiveOverlayEventArgs

MapMouseClick This event will be fired when Mouse clicked(mouse up and mouse down in the same postion) on the Map.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseClick.28MapMouseClickInteractiveOverlayEventArgs.29

Event Arguments:MapMouseClickInteractiveOverlayEventArgs

MapMouseDoubleClick This event will be fired when Mouse double clicked on the Map.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseDoubleClick.28MapMouseDoubleClickInteractiveOverlayEventArgs.29

Event Arguments:MapMouseDoubleClickInteractiveOverlayEventArgs

MapMouseWheel This event will be fired when Mouse wheel on the Map.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseWheel.28MapMouseWheelInteractiveOverlayEventArgs.29

Event Arguments:MapMouseWheelInteractiveOverlayEventArgs

MapMouseLeave Occurs when mouse leave the map canvas.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseLeave.28MapMouseLeaveInteractiveOverlayEventArgs.29

Event Arguments:MapMouseLeaveInteractiveOverlayEventArgs

MapMouseEnter Occurs when mouse enter the map canvas.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapMouseEnter.28MapMouseEnterInteractiveOverlayEventArgs.29

Event Arguments:MapMouseEnterInteractiveOverlayEventArgs

MapKeyDown Occurs when key down on the map canvas.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapKeyDown.28MapKeyDownInteractiveOverlayEventArgs.29

Event Arguments:MapKeyDownInteractiveOverlayEventArgs

MapKeyUp Occurs when key up on the map canvas.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnMapKeyUp.28MapKeyUpInteractiveOverlayEventArgs.29

Event Arguments:MapKeyUpInteractiveOverlayEventArgs

Drawing This event raises before the overlay is drawing.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnDrawing.28DrawingOverlayEventArgs.29

Event Arguments:DrawingOverlayEventArgs

Drawn This event raises after the overlay is drawn.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TrackInteractiveOverlay#OnDrawn.28DrawnOverlayEventArgs.29

Event Arguments:DrawnOverlayEventArgs

DrawingAttribution N/A

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