Table of Contents

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

Public Methods

Refresh()

This method re-draws this overlay in current extent.

Remarks

This method re-draws this overlay in current extent.

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

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
Parameters

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
Parameters

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
Parameters

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
Parameters

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
Parameters

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
Parameters

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
Parameters

ToString()

N/A

Remarks

N/A

Return Value
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
Parameters

GetHashCode()

N/A

Remarks

N/A

Return Value
Parameters

GetType()

N/A

Remarks

N/A

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

DxU=(GeoCanvas)

N/A

Remarks

N/A

Return Value
Parameters

DrawAttributionCore(GeoCanvas)

N/A

Remarks

N/A

Return Value
Parameters

OnDrawingAttribution(DrawingAttributionOverlayEventArgs)

N/A

Remarks

N/A

Return Value
Parameters

OnDrawnAttribution(DrawnAttributionOverlayEventArgs)

N/A

Remarks

N/A

Return Value
Parameters

ZoomStoryCompletedCore()

This method raised when zooming animation plays completed.

Remarks

This method raised when zooming animation plays completed.

Return Value
Parameters

PanAnimationCompletedCore()

This method raised when Panning animation plays completed.

Remarks

This method raised when Panning animation plays completed.

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

Finalize()

N/A

Remarks

N/A

Return Value
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
Parameters

Public Properties

Visibility

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

Remarks

N/A

Return Value

OverlayElement

An FrameworkElement that contains the overlay.

Remarks

N/A

Return Value

Name

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

Remarks

N/A

Return Value

Attribution

N/A

Remarks

N/A

Return Value

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

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

StoryboardForZooming

Gets the Storyboard object for zooming.

Remarks

N/A

Return Value

StoryboardForPanning

Gets the Storyboard object for panning.

Remarks

N/A

Return Value

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

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

ZoomFrameX

Gets the SplineDoubleKeyFrame for zooming.

Remarks

N/A

Return Value

ZoomFrameY

Gets the SplineDoubleKeyFrame for zooming.

Remarks

N/A

Return Value

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

ScaleTransform

Gets the ScaleTransform object of this overlay.

Remarks

Gets the ScaleTransform object of this overlay.

Return Value

TransformGroup

Gets the TranslateGroup object for panning and zooming.

Remarks

Gets the TranslateGroup object for panning and zooming.

Return Value

Public Events

DrawingAttribution N/A

Remarks

N/A

Event Arguments:DrawingAttributionOverlayEventArgs

DrawnAttribution N/A

Remarks

N/A

Event Arguments:DrawnAttributionOverlayEventArgs