User Tools

Site Tools


thinkgeo.mapsuite.silverlightedition.overlay

ThinkGeo.MapSuite.SilverlightEdition.Overlay

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.

Serves as the base class that defines the properties and methods shared by all types of overlays.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

Overlay()

This is constructor of Overlay class.

Remarks

This is constructor of Overlay class.

Parameters

Overlay(String)

This is constructor of Overlay class.

Remarks

N/A

Parameters
  • name
    • Type:String
    • Description:A string value indicating the name of this overlay.

Public Methods

Refresh()

This method re-draws this overlay in current extent.

Remarks

This method re-draws this overlay in current extent.

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

Draw(RectangleShape,OverlayDrawType)

Zooms the overlay only to the extent that you specify.

Remarks

The overlay will be panned to the center and zoomlevel of the extent that you specify.

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • worldExtent
  • overlayDrawType
    • Description:The enum value indecating that the map draws features or not.

Initialize(Map)

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
  • currentMap
    • Type:Map
    • Description:Current map information.

ToWorldCoordinate(Double,Double)

This method returns a point shape in world coordinates from the specified X, Y screen coordinates.

Remarks

This method converts X, Y screen coordinates to a point shape in world coodinates.

Return Value
  • Description:A point shape in world coordinates.
Parameters
  • screenX
    • Type:Double
    • Description:The X-value in pixels referenced to the screen origin.
  • screenY
    • Type:Double
    • Description:The Y-value in pixels referenced to the screen origin.

ToWorldCoordinate(PointShape)

This method returns a point shape in world coordinates from a ScreenPointF structure.

Remarks

This method converts a screen point to a point in world coordinates.

Return Value
  • Description:A point shape in world coordinates.
Parameters
  • screenCoordinate
    • Description:The point (in screen coordinates) to convert to world coordinates.

ToWorldCoordinate(Point)

This method returns a point shape in world coordinates from a ScreenPointF structure.

Remarks

This method converts a screen point to a point in world coordinates.

Return Value
  • Description:A point shape in world coordinates.
Parameters
  • screenCoordinate
    • Type:Point
    • Description:The point (in screen coordinates) to convert to world coordinates.

ToScreenCoordinate(Double,Double)

This method returns a point shape in screen coordinates from the specified X, Y world coordinates.

Remarks

This method converts X, Y world coordinates to a point in screen coordinates.

Return Value
  • Description:A screen point in pixels.
Parameters
  • worldX
    • Type:Double
    • Description:The X world coordinate.
  • worldY
    • Type:Double
    • Description:The Y world coordinate.

ToScreenCoordinate(PointShape)

This method returns a screen point from a point shape in world coordinates.

Remarks

This method converts the coordinates of a point shape to a point in screen coordinates.

Return Value
  • Description:A screen point in pixels.
Parameters
  • worldCoordinate
    • Description:A point shape in world coordinates.

ToScreenCoordinate(Point)

This method returns a screen point from a point shape in world coordinates.

Remarks

This method converts the coordinates of a point shape to a point in screen coordinates.

Return Value
  • Description:A screen point in pixels.
Parameters
  • worldCoordinate
    • Type:Point
    • Description:A point in world coordinates.

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

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

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()

This method raised when zooming animation plays completed.

Remarks

This method raised when zooming animation plays completed.

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

PanAnimationCompletedCore()

This method raised when Panning animation plays completed.

Remarks

This method raised when Panning animation plays completed.

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

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

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

Gets or sets a value that indicates whether the overlay is visible on the map.

Remarks

N/A

Return Value
  • Type:Visibility

OverlayElement

An FrameworkElement that contains the overlay.

Remarks

N/A

Return Value
  • Type:FrameworkElement

Name

Gets or sets the name of an overlay which will display in the OverlaySwitcher.

Remarks

N/A

Return Value
  • Type:String

Attribution

N/A

Remarks

N/A

Return Value
  • Type:String

TransitionEffect

Gets or Sets the transition effect to use when the map is panned or zoomed.

Remarks

N/A

Return Value

Opacity

Gets or sets the opacity level of the overlay.

Remarks

The Opacity property enables you to specify a level of transparency for the overlay. When this property is set to a value less than 100 percent(1.00), the entire overlay is made more transparent. Setting this property to a value of 0 percent (0.00) makes the overlay completely invisible.

Return Value
  • Type:Double

ZIndex

Get or set z-index of overlay, The value is bigger, and the order is higher.

Remarks

Get or set z-index of overlay, The value is bigger, and the order is higher.

Return Value
  • Type:Int32

StoryboardForZooming

Gets the Storyboard object for zooming.

Remarks

N/A

Return Value
  • Type:Storyboard

StoryboardForPanning

Gets the Storyboard object for panning.

Remarks

N/A

Return Value
  • Type:Storyboard

PanFrameX

Animates from the System.Double value of the previous key frame to its own System.Windows.Media.Animation.DoubleKeyFrame.Value using splined interpolation.

Remarks

N/A

Return Value
  • Type:SplineDoubleKeyFrame

PanFrameY

Animates from the System.Double value of the previous key frame to its own System.Windows.Media.Animation.DoubleKeyFrame.Value using splined interpolation.

Remarks

N/A

Return Value
  • Type:SplineDoubleKeyFrame

ZoomFrameX

Gets the SplineDoubleKeyFrame for zooming.

Remarks

N/A

Return Value
  • Type:SplineDoubleKeyFrame

ZoomFrameY

Gets the SplineDoubleKeyFrame for zooming.

Remarks

N/A

Return Value
  • Type:SplineDoubleKeyFrame

Protected Properties

MapInfo

Gets or sets current map information.

Remarks

Gets or sets current map information.

Return Value

TranslateTransform

Gets the TranslateTransform object of this overlay.

Remarks

Gets the TranslateTransform object of this overlay.

Return Value
  • Type:TranslateTransform

ScaleTransform

Gets the ScaleTransform object of this overlay.

Remarks

Gets the ScaleTransform object of this overlay.

Return Value
  • Type:ScaleTransform

TransformGroup

Gets the TranslateGroup object for panning and zooming.

Remarks

Gets the TranslateGroup object for panning and zooming.

Return Value
  • Type:TransformGroup

Public Events

DrawingAttribution N/A

Remarks

N/A

Event Arguments:DrawingAttributionOverlayEventArgs

DrawnAttribution N/A

Remarks

N/A

Event Arguments:DrawnAttributionOverlayEventArgs

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