User Tools

Site Tools


thinkgeo.mapsuite.silverlightedition.markeroverlay

ThinkGeo.MapSuite.SilverlightEdition.MarkerOverlay

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 is a base class for the overlay that generates and manages markers.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

MarkerOverlay()

This is constructor of MarkerOverlay class.

Remarks

This is constructor of MarkerOverlay class.

Parameters

MarkerOverlay(String)

This is constructor of MarkerOverlay class.

Remarks

This is constructor of MarkerOverlay class.

Parameters
  • name
    • Type:String
    • Description:The identifier string of the MarkerOverlay.

Public Methods

GetDrawingMarkers(RectangleShape)

This method returns a collection of markers based on the extent that passed in.

Remarks

The GetDrawingMarkersCore method creates the makrers based on the current zoomlevel, the specified extent and the special logic of the MarkerOverlay. The returned markers object will be serialized and sent to the client to create client markers.

Return Value
  • Type:Collection<Marker>
  • Description:A collection of Marker objects that will be serialized to the client.
Parameters
  • worldExtent
    • Description:The extent that include the markers.

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

GetDrawingMarkersCore(RectangleShape)

This method returns a collection of markers based on the extent that passed in.

Remarks

This method returns a collection of markers based on the extent and zoomlevel that passed in.

Return Value
  • Type:Collection<Marker>
  • Description:A collection of Marker objects that will be serialized to the client.
Parameters
  • worldExtent
    • Description:The extent that include the markers.

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

DrawCore(RectangleShape)

This method draws the features in the specified extent.

Remarks

This method draws the features in the specified extent.

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • worldExtent
    • Description:The world extent that specified to move marker overlay to.

OnMouseEnter(MouseEnterMarkerOverlayEventArgs)

This method raised when the mouse enter a marker of the overlay.

Remarks

This method raised when the mouse enter a marker of the overlay.

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

OnMouseLeave(MouseLeaveMarkerOverlayEventArgs)

This method raises when the mouse leave a marker of the overlay.

Remarks

This method raises when the mouse leave a marker of the overlay.

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

OnMouseLeftButtonDown(MouseLeftButtonDownMarkerOverlayEventArgs)

This method raises when the mouse down on a marker of the overlay.

Remarks

This method raises when the mouse down on a marker of the overlay.

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

OnMouseLeftButtonUp(MouseLeftButtonUpMarkerOverlayEventArgs)

This method raises when the mouse up a marker of the overlay.

Remarks

This method raises when the mouse up a marker of the overlay.

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

GxU=(Marker)

N/A

Remarks

N/A

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

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

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

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

MouseEnter This event raises when the mouse enter a marker of the overlay.

Remarks

This event raises when the mouse enter a marker of the overlay.

Event Arguments:MouseEnterMarkerOverlayEventArgs

MouseLeave This event raises when the mouse leave a marker of the overlay.

Remarks

This event raises when the mouse leave a marker of the overlay.

Event Arguments:MouseLeaveMarkerOverlayEventArgs

MouseLeftButtonDown This event raises when the mouse left button click down on a marker of the overlay.

Remarks

This event raises when the mouse left button click down on a marker of the overlay.

Event Arguments:MouseLeftButtonDownMarkerOverlayEventArgs

MouseLeftButtonUp This event raises when the mouse left button click down on a marker of the overlay.

Remarks

This event raises when the mouse left button click down on a marker of the overlay.

Event Arguments:MouseLeftButtonUpMarkerOverlayEventArgs

DrawingAttribution N/A

Remarks

N/A

Event Arguments:DrawingAttributionOverlayEventArgs

DrawnAttribution N/A

Remarks

N/A

Event Arguments:DrawnAttributionOverlayEventArgs

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