ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
<!– Class –> Serves as the base class that defines the properties and methods shared by all types of overlays.
The <strong>Overlay</strong> has the similar concept as the layer. Different types of overlays stack over each other to form a map. An overlay object is responsible for getting the configuration infomation from the user and serialized to a json string to control the client javascript library to create appropriate client layer.
Usually an overlay represents an image with transparent background that is laid upon other overlay such as <strong>LayerOverlay</strong>, <strong>WmsOverlay</strong>. While the <strong>MarkerOverlay</strong> will not be rendered as an image, it is actually represents a <strong>div</strong> that holds bunch of marker images at client side.
There are basically two kinds of overlay: base overlay and non-base overlay.
The base overlay has its <strong>IsBaseOverlay</strong> property set to true. It is displayed as the background image of the map. In an <strong>OverlaySwither</strong>, there is a radio button beside its name. There can only be one base overlay be displayed at a time. You can click the radio button to switch the base overlay to show.
The non-base overlay has a false <strong>IsBaseOverlay</strong> property. These overlays can overlap on the base overlay or on themselves each other. They are displayed in the <strong>OverlaySwither</strong> with a check box beside their name. You can click the check box to show or hide that overlay.
*System.Object ThinkGeo.MapSuite.SilverlightEdition.Overlay *ThinkGeo.MapSuite.SilverlightEdition.BingMapsOverlay *ThinkGeo.MapSuite.SilverlightEdition.EditInteractiveOverlay *ThinkGeo.MapSuite.SilverlightEdition.ExtentInteractiveOverlay *ThinkGeo.MapSuite.SilverlightEdition.GoogleOverlay *ThinkGeo.MapSuite.SilverlightEdition.InMemoryMarkerOverlay *ThinkGeo.MapSuite.SilverlightEdition.InteractiveOverlay *ThinkGeo.MapSuite.SilverlightEdition.LayerOverlay *ThinkGeo.MapSuite.SilverlightEdition.MarkerOverlay *ThinkGeo.MapSuite.SilverlightEdition.OpenStreetMapOverlay *ThinkGeo.MapSuite.SilverlightEdition.ServerLayerOverlay *ThinkGeo.MapSuite.SilverlightEdition.SimpleMarkerOverlay *ThinkGeo.MapSuite.SilverlightEdition.TiledWmsOverlay *ThinkGeo.MapSuite.SilverlightEdition.TrackInteractiveOverlay *ThinkGeo.MapSuite.SilverlightEdition.WmsOverlay *ThinkGeo.MapSuite.SilverlightEdition.WmtsOverlay ***ThinkGeo.MapSuite.SilverlightEdition.WorldMapKitWmsSilverlightOverlay
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | RectangleShape, OverlayDrawType | Zooms the overlay only to the extent that you specify. | |
![]() | Object | Object | |
![]() | Object | ||
![]() | Object | ||
![]() | Map | This method initializes the overlay canvas such as width, height and z-index for first time. | |
![]() | This method re-draws this overlay in current extent. | ||
![]() | PointShape | This method returns a screen point from a point shape in world coordinates. | |
![]() | Double, Double | This method returns a point shape in screen coordinates from the specified X, Y world coordinates. | |
![]() | Point | This method returns a screen point from a point shape in world coordinates. | |
![]() | Object | ||
![]() | PointShape | This method returns a point shape in world coordinates from a ScreenPointF structure. | |
![]() | Double, Double | This method returns a point shape in world coordinates from the specified X, Y screen coordinates. | |
![]() | Point | This method returns a point shape in world coordinates from a ScreenPointF structure. |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | GeoCanvas | ||
![]() | RectangleShape | This method draws the features in the specified extent. | |
![]() | Object | ||
![]() | This method initializes the overlay canvas such as width, height and z-index for first time. | ||
![]() | Object | ||
![]() | DrawingAttributionOverlayEventArgs | ||
![]() | DrawnAttributionOverlayEventArgs | ||
![]() | This method raised when Panning animation plays completed. | ||
![]() | This method raised when zooming animation plays completed. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | String | ||
![]() | String | Gets or sets the name of an overlay which will display in the OverlaySwitcher. | |
![]() | Double | Gets or sets the opacity level of the overlay. | |
![]() | FrameworkElement | An FrameworkElement that contains the overlay. | |
![]() | SplineDoubleKeyFrame | Animates from the System.Double value of the previous key frame to its own System.Windows.Media.Animation.DoubleKeyFrame.Value using splined interpolation. | |
![]() | SplineDoubleKeyFrame | Animates from the System.Double value of the previous key frame to its own System.Windows.Media.Animation.DoubleKeyFrame.Value using splined interpolation. | |
![]() | Storyboard | Gets the Storyboard object for panning. | |
![]() | Storyboard | Gets the Storyboard object for zooming. | |
![]() | TransitionEffect | Gets or Sets the transition effect to use when the map is panned or zoomed. | |
![]() | Visibility | Gets or sets a value that indicates whether the overlay is visible on the map. | |
![]() | Int32 | Get or set z-index of overlay, The value is bigger, and the order is higher. | |
![]() | SplineDoubleKeyFrame | Gets the SplineDoubleKeyFrame for zooming. | |
![]() | SplineDoubleKeyFrame | Gets the SplineDoubleKeyFrame for zooming. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Map | Gets or sets current map information. | |
![]() | ScaleTransform | Gets the ScaleTransform object of this overlay. | |
![]() | TransformGroup | Gets the TranslateGroup object for panning and zooming. | |
![]() | TranslateTransform | Gets the TranslateTransform object of this overlay. |
Name | Event Arguments | DeclaringType | Summary |
---|---|---|---|
![]() | DrawingAttributionOverlayEventArgs | ||
![]() | DrawnAttributionOverlayEventArgs |
This is constructor of Overlay class.
This is constructor of Overlay class.
This is constructor of <strong>Overlay</strong> class.
Name | Type | Description |
---|
This is constructor of Overlay class.
This is constructor of Overlay class.
Name | Type | Description |
---|---|---|
name | String<!– System.String –> | A string value indicating the name of this overlay. |
Zooms the overlay only to the extent that you specify.
Zooms the overlay to the extent that you specify.
The overlay will be panned to the center and zoomlevel of the extent that you specify.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
worldExtent | RectangleShape<!– ThinkGeo.MapSuite.SilverlightCore.RectangleShape –> | The new world extent of the map. |
overlayDrawType | OverlayDrawType<!– ThinkGeo.MapSuite.SilverlightEdition.OverlayDrawType –> | The enum value indecating that the map draws features or not. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method initializes the overlay canvas such as width, height and z-index for first time.
This method initializes the overlay canvas such as width, height and z-index for first time.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
currentMap | Map<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> | Current map information. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
This method re-draws this overlay in current extent.
This method re-draws this overlay in current extent.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
This method returns a screen point from a point shape in world coordinates.
This method returns a screen point that is converted from the specified world coordinates.
This method converts the coordinates of a point shape to a point in screen coordinates.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A screen point in pixels. |
Name | Type | Description |
---|---|---|
worldCoordinate | PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A point shape in world coordinates. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
This method returns a point shape in screen coordinates from the specified X, Y world coordinates.
This method returns a screen point that is converted from the specified world coordinates.
This method converts X, Y world coordinates to a point in screen coordinates.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A screen point in pixels. |
Name | Type | Description |
---|---|---|
worldX | Double<!– System.Double –> | The X world coordinate. |
worldY | Double<!– System.Double –> | The Y world coordinate. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
This method returns a screen point from a point shape in world coordinates.
This method returns a screen point that is converted from the specified world coordinates.
This method converts the coordinates of a point shape to a point in screen coordinates.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A screen point in pixels. |
Name | Type | Description |
---|---|---|
worldCoordinate | Point<!– System.Windows.Point –> | A point in world coordinates. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns a point shape in world coordinates from a ScreenPointF structure.
This method returns a point shape in world coordinates from screen coordinates.
This method converts a screen point to a point in world coordinates.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A point shape in world coordinates. |
Name | Type | Description |
---|---|---|
screenCoordinate | PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | The point (in screen coordinates) to convert to world coordinates. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
This method returns a point shape in world coordinates from the specified X, Y screen coordinates.
This method returns a point shape in world coordinates from the specified screen coordinates.
This method converts X, Y screen coordinates to a point shape in world coodinates.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A point shape in world coordinates. |
Name | Type | Description |
---|---|---|
screenX | Double<!– System.Double –> | The X-value in pixels referenced to the screen origin. |
screenY | Double<!– System.Double –> | The Y-value in pixels referenced to the screen origin. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
This method returns a point shape in world coordinates from a ScreenPointF structure.
This method returns a point shape in world coordinates from screen coordinates.
This method converts a screen point to a point in world coordinates.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A point shape in world coordinates. |
Name | Type | Description |
---|---|---|
screenCoordinate | Point<!– System.Windows.Point –> | The point (in screen coordinates) to convert to world coordinates. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
canvas | GeoCanvas<!– ThinkGeo.MapSuite.SilverlightCore.GeoCanvas –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
This method draws the features in the specified extent.
Zooms the overlay to the extent that you specify.
This method draws the features in the specified extent.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
worldExtent | RectangleShape<!– ThinkGeo.MapSuite.SilverlightCore.RectangleShape –> | The new world extent of the map. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method initializes the overlay canvas such as width, height and z-index for first time.
This method initializes the overlay canvas such as width, height and z-index for first time.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
args | DrawingAttributionOverlayEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.DrawingAttributionOverlayEventArgs –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
args | DrawnAttributionOverlayEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.DrawnAttributionOverlayEventArgs –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
This method raised when Panning animation plays completed.
This method raised when Panning animation plays completed.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
This method raised when zooming animation plays completed.
This method raised when zooming animation plays completed.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets or sets the name of an overlay which will display in the OverlaySwitcher.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets or sets the opacity level of the overlay.
The <strong>Opacity</strong> 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 Type |
---|
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
An FrameworkElement that contains the overlay.
Return Type |
---|
FrameworkElement<!– System.Windows.FrameworkElement –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Animates from the System.Double value of the previous key frame to its own System.Windows.Media.Animation.DoubleKeyFrame.Value using splined interpolation.
Return Type |
---|
SplineDoubleKeyFrame<!– System.Windows.Media.Animation.SplineDoubleKeyFrame –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Animates from the System.Double value of the previous key frame to its own System.Windows.Media.Animation.DoubleKeyFrame.Value using splined interpolation.
Return Type |
---|
SplineDoubleKeyFrame<!– System.Windows.Media.Animation.SplineDoubleKeyFrame –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets the Storyboard object for panning.
Return Type |
---|
Storyboard<!– System.Windows.Media.Animation.Storyboard –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets the Storyboard object for zooming.
Return Type |
---|
Storyboard<!– System.Windows.Media.Animation.Storyboard –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets or Sets the transition effect to use when the map is panned or zoomed.
Return Type |
---|
TransitionEffect<!– ThinkGeo.MapSuite.SilverlightEdition.TransitionEffect –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets or sets a value that indicates whether the overlay is visible on the map.
Return Type |
---|
Visibility<!– System.Windows.Visibility –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Get or set z-index of overlay, The value is bigger, and the order is higher.
Get or set z-index of overlay, The value is bigger, and the order is higher.
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets the SplineDoubleKeyFrame for zooming.
Return Type |
---|
SplineDoubleKeyFrame<!– System.Windows.Media.Animation.SplineDoubleKeyFrame –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets the SplineDoubleKeyFrame for zooming.
Return Type |
---|
SplineDoubleKeyFrame<!– System.Windows.Media.Animation.SplineDoubleKeyFrame –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets or sets current map information.
Gets or sets current map information.
Return Type |
---|
Map<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets the ScaleTransform object of this overlay.
Gets the ScaleTransform object of this overlay.
Return Type |
---|
ScaleTransform<!– System.Windows.Media.ScaleTransform –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets the TranslateGroup object for panning and zooming.
Gets the TranslateGroup object for panning and zooming.
Return Type |
---|
TransformGroup<!– System.Windows.Media.TransformGroup –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Gets the TranslateTransform object of this overlay.
Gets the TranslateTransform object of this overlay.
Return Type |
---|
TranslateTransform<!– System.Windows.Media.TranslateTransform –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Event Arguments |
---|
DrawingAttributionOverlayEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.DrawingAttributionOverlayEventArgs –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
Event Arguments |
---|
DrawnAttributionOverlayEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.DrawnAttributionOverlayEventArgs –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back
NOTOC SilverlightEdition ThinkGeo.MapSuite.SilverlightEdition UpdateDocumentation