User Tools

Site Tools


thinkgeo.mapsuite.silverlightedition.trackinteractiveoverlay

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

N/A

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)

N/A

Remarks

N/A

Return Value
Parameters

MouseMove(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

MouseUp(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

MouseClick(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

MouseDoubleClick(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

MouseWheel(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

Refresh()

N/A

Remarks

N/A

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

Draw(RectangleShape,OverlayDrawType)

N/A

Remarks

N/A

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

Initialize(Map)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • currentMap
    • Type:Map
    • Description:N/A

ToWorldCoordinate(Double,Double)

N/A

Remarks

N/A

Return Value
Parameters
  • screenX
    • Type:Double
    • Description:N/A
  • screenY
    • Type:Double
    • Description:N/A

ToWorldCoordinate(PointShape)

N/A

Remarks

N/A

Return Value
Parameters
  • screenCoordinate

ToWorldCoordinate(Point)

N/A

Remarks

N/A

Return Value
Parameters
  • screenCoordinate
    • Type:Point
    • Description:N/A

ToScreenCoordinate(Double,Double)

N/A

Remarks

N/A

Return Value
Parameters
  • worldX
    • Type:Double
    • Description:N/A
  • worldY
    • Type:Double
    • Description:N/A

ToScreenCoordinate(PointShape)

N/A

Remarks

N/A

Return Value
Parameters

ToScreenCoordinate(Point)

N/A

Remarks

N/A

Return Value
Parameters
  • worldCoordinate
    • Type:Point
    • Description:N/A

ToString()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

N/A

Remarks

N/A

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

Protected Methods

EndTracking()

This method ends the tracking shape by initialize some variables.

Remarks

N/A

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

MouseDownCore(InteractionArguments)

This overrides the MouseDown logic in its base class InterativeOverlay.

Remarks

N/A

Return Value
Parameters
  • interactionArguments

MouseMoveCore(InteractionArguments)

This overrides the MouseMove logic in its base class InterativeOverlay.

Remarks

N/A

Return Value
Parameters
  • interactionArguments

MouseUpCore(InteractionArguments)

This overrides the MouseUp logic in its base class InterativeOverlay.

Remarks

N/A

Return Value
Parameters
  • interactionArguments

MouseClickCore(InteractionArguments)

This overrides the MouseClick logic in its base class.

Remarks

N/A

Return Value
Parameters
  • interactionArguments

MouseDoubleClickCore(InteractionArguments)

This overrides the MouseDoubleClick logic in its base class InterativeOverlay.

Remarks

N/A

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

N/A

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

N/A

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

OnTrackEnding(TrackEndingTrackInteractiveOverlayEventArgs)

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

Remarks

N/A

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

OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs)

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

Remarks

N/A

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

OnTrackStarted(TrackStartedTrackInteractiveOverlayEventArgs)

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

Remarks

N/A

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

OnVertexAdding(VertexAddingTrackInteractiveOverlayEventArgs)

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

Remarks

N/A

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

OnVertexAdded(VertexAddedTrackInteractiveOverlayEventArgs)

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

Remarks

N/A

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

N/A

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

DrawCore(RectangleShape)

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:Void
  • Description:None
Parameters
  • worldExtent

InitializeCore()

This method initializes the overlay canvas such as width, height and z-index for first time.

Remarks

This method initializes the overlay canvas such as width, height and z-index for first time.

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

MouseWheelCore(InteractionArguments)

N/A

Remarks

N/A

Return Value
Parameters

OnMapMouseDown(MapMouseDownInteractiveOverlayEventArgs)

N/A

Remarks

N/A

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

OnMapMouseMove(MapMouseMoveInteractiveOverlayEventArgs)

N/A

Remarks

N/A

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

OnMapMouseUp(MapMouseUpInteractiveOverlayEventArgs)

N/A

Remarks

N/A

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

OnMapMouseClick(MapMouseClickInteractiveOverlayEventArgs)

N/A

Remarks

N/A

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

OnMapMouseDoubleClick(MapMouseDoubleClickInteractiveOverlayEventArgs)

N/A

Remarks

N/A

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

OnMapMouseWheel(MapMouseWheelInteractiveOverlayEventArgs)

N/A

Remarks

N/A

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

DxU=(GeoCanvas)

N/A

Remarks

N/A

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

DrawAttributionCore(GeoCanvas)

N/A

Remarks

N/A

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

OnDrawingAttribution(DrawingAttributionOverlayEventArgs)

N/A

Remarks

N/A

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

OnDrawnAttribution(DrawnAttributionOverlayEventArgs)

N/A

Remarks

N/A

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

ZoomStoryCompletedCore()

N/A

Remarks

N/A

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

PanAnimationCompletedCore()

N/A

Remarks

N/A

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

Finalize()

N/A

Remarks

N/A

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

MemberwiseClone()

N/A

Remarks

N/A

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

N/A

Return Value
  • Type:Boolean

TrackShapeLayer

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

Remarks

N/A

Return Value

IsInTracking

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

Remarks

N/A

Return Value
  • Type:Boolean

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

MouseMoveInterval

N/A

Remarks

N/A

Return Value
  • Type:TimeSpan

Visibility

N/A

Remarks

N/A

Return Value
  • Type:Visibility

OverlayElement

N/A

Remarks

N/A

Return Value
  • Type:FrameworkElement

Name

N/A

Remarks

N/A

Return Value
  • Type:String

Attribution

N/A

Remarks

N/A

Return Value
  • Type:String

TransitionEffect

N/A

Remarks

N/A

Return Value

Opacity

N/A

Remarks

N/A

Return Value
  • Type:Double

ZIndex

N/A

Remarks

N/A

Return Value
  • Type:Int32

StoryboardForZooming

N/A

Remarks

N/A

Return Value
  • Type:Storyboard

StoryboardForPanning

N/A

Remarks

N/A

Return Value
  • Type:Storyboard

PanFrameX

N/A

Remarks

N/A

Return Value
  • Type:SplineDoubleKeyFrame

PanFrameY

N/A

Remarks

N/A

Return Value
  • Type:SplineDoubleKeyFrame

ZoomFrameX

N/A

Remarks

N/A

Return Value
  • Type:SplineDoubleKeyFrame

ZoomFrameY

N/A

Remarks

N/A

Return Value
  • Type:SplineDoubleKeyFrame

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

N/A

Return Value

MapInfo

N/A

Remarks

N/A

Return Value

TranslateTransform

N/A

Remarks

N/A

Return Value
  • Type:TranslateTransform

ScaleTransform

N/A

Remarks

N/A

Return Value
  • Type:ScaleTransform

TransformGroup

N/A

Remarks

N/A

Return Value
  • Type:TransformGroup

Public Events

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

Remarks

N/A

Event Arguments:TrackEndedTrackInteractiveOverlayEventArgs

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

Remarks

N/A

Event Arguments:TrackEndingTrackInteractiveOverlayEventArgs

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

Remarks

N/A

Event Arguments:TrackStartedTrackInteractiveOverlayEventArgs

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

Remarks

N/A

Event Arguments:TrackStartingTrackInteractiveOverlayEventArgs

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

Remarks

N/A

Event Arguments:VertexAddedTrackInteractiveOverlayEventArgs

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

Remarks

N/A

Event Arguments:VertexAddingTrackInteractiveOverlayEventArgs

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

Remarks

N/A

Event Arguments:MouseMovedTrackInteractiveOverlayEventArgs

MapMouseDown N/A

Remarks

N/A

Event Arguments:MapMouseDownInteractiveOverlayEventArgs

MapMouseMove N/A

Remarks

N/A

Event Arguments:MapMouseMoveInteractiveOverlayEventArgs

MapMouseUp N/A

Remarks

N/A

Event Arguments:MapMouseUpInteractiveOverlayEventArgs

MapMouseClick N/A

Remarks

N/A

Event Arguments:MapMouseClickInteractiveOverlayEventArgs

MapMouseDoubleClick N/A

Remarks

N/A

Event Arguments:MapMouseDoubleClickInteractiveOverlayEventArgs

MapMouseWheel N/A

Remarks

N/A

Event Arguments:MapMouseWheelInteractiveOverlayEventArgs

DrawingAttribution N/A

Remarks

N/A

Event Arguments:DrawingAttributionOverlayEventArgs

DrawnAttribution N/A

Remarks

N/A

Event Arguments:DrawnAttributionOverlayEventArgs

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