User Tools

Site Tools


thinkgeo.mapsuite.silverlightedition.bingmapsoverlay

This is an old revision of the document!


ThinkGeo.MapSuite.SilverlightEdition.BingMapsOverlay

<!– Class –> This class represents the BingsMapOverlay which requests images from image server of Bing Maps.

Remarks

This class represents the BingsMapOverlay which requests images from image server of Bing Maps.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodBingMapsOverlay This is constructor of BingsMapOverlay class.
Public MethodBingMapsOverlay String This is constructor of BingsMapOverlay class.
Public MethodBingMapsOverlay String, String, BingMapsStyle This is constructor of BingsMapOverlay class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodDraw RectangleShape, OverlayDrawType Overlay(overriden) This method draws the features in the specified extent.
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodInitialize Map Overlay(overriden) This method initializes the overlay canvas such as width, height and z-index for first time.
Public MethodRefresh Overlay This method re-draws this overlay in current extent.
Public MethodToScreenCoordinate Point Overlay This method returns a screen point from a point shape in world coordinates.
Public MethodToScreenCoordinate Double, Double Overlay This method returns a point shape in screen coordinates from the specified X, Y world coordinates.
Public MethodToScreenCoordinate PointShape Overlay This method returns a screen point from a point shape in world coordinates.
Public MethodToString Object
Public MethodToWorldCoordinate PointShape Overlay This method returns a point shape in world coordinates from a ScreenPointF structure.
Public MethodToWorldCoordinate Double, Double Overlay This method returns a point shape in world coordinates from the specified X, Y screen coordinates.
Public MethodToWorldCoordinate Point Overlay This method returns a point shape in world coordinates from a ScreenPointF structure.

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodDrawAttributionCore GeoCanvas Overlay
Protected MethodDrawCore RectangleShape Overlay(overriden) This method draws the features in the specified extent.
Protected MethodFinalize Object
Protected MethodGetTileUri Uri, RectangleShape, Int32, Int32, Int32, Int32, Double This method gets tile request address from specific parameters.
Protected MethodInitializeCore Overlay(overriden) This method initializes the overlay canvas such as width, height and z-index for first time.
Protected MethodMemberwiseClone Object
Protected MethodOnDrawingAttribution DrawingAttributionOverlayEventArgs Overlay
Protected MethodOnDrawnAttribution DrawnAttributionOverlayEventArgs Overlay
Protected MethodPanAnimationCompletedCore Overlay This method raised when Panning animation plays completed.
Protected MethodZoomStoryCompletedCore Overlay This method raised when zooming animation plays completed.

Public Properties

Name Return DeclaringType Summary
Public PropertyAttribution String Overlay
Public PropertyBingMapsStyle BingMapsStyle Gets or sets the Bing Map Type requesting from Bing Map image server.
Public PropertyIsStretchEffectDisabled Boolean Gets or sets whether the stretch effect is disabled or not.
Public PropertyLogo GeoImage
Public PropertyName String Overlay Gets or sets the name of an overlay which will display in the OverlaySwitcher.
Public PropertyOpacity Double Overlay Gets or sets the opacity level of the overlay.
Public PropertyOverlayElement FrameworkElement Overlay An FrameworkElement that contains the overlay.
Public PropertyPanFrameX SplineDoubleKeyFrame Overlay Animates from the System.Double value of the previous key frame to its own System.Windows.Media.Animation.DoubleKeyFrame.Value using splined interpolation.
Public PropertyPanFrameY SplineDoubleKeyFrame Overlay Animates from the System.Double value of the previous key frame to its own System.Windows.Media.Animation.DoubleKeyFrame.Value using splined interpolation.
Public PropertyStoryboardForPanning Storyboard Overlay Gets the Storyboard object for panning.
Public PropertyStoryboardForZooming Storyboard Overlay Gets the Storyboard object for zooming.
Public PropertyToken String The token string for Bing Map service.
Public PropertyTransitionEffect TransitionEffect Overlay Gets or Sets the transition effect to use when the map is panned or zoomed.
Public PropertyVisibility Visibility Overlay Gets or sets a value that indicates whether the overlay is visible on the map.
Public PropertyZIndex Int32 Overlay Get or set z-index of overlay, The value is bigger, and the order is higher.
Public PropertyZoomFrameX SplineDoubleKeyFrame Overlay Gets the SplineDoubleKeyFrame for zooming.
Public PropertyZoomFrameY SplineDoubleKeyFrame Overlay Gets the SplineDoubleKeyFrame for zooming.

Protected Properties

Name Return DeclaringType Summary
Protected PropertyMapInfo Map Overlay Gets or sets current map information.
Protected PropertyScaleTransform ScaleTransform Overlay Gets the ScaleTransform object of this overlay.
Protected PropertyTransformGroup TransformGroup Overlay Gets the TranslateGroup object for panning and zooming.
Protected PropertyTranslateTransform TranslateTransform Overlay Gets the TranslateTransform object of this overlay.

Public Events

Public Constructors

BingMapsOverlay()

This is constructor of BingsMapOverlay class.

Overloads

This is constructor of BingsMapOverlay class.

Remarks

This is constructor of <strong>BingsMapOverlay</strong> class.

Parameters

Name Type Description

Go Back

BingMapsOverlay(String)

This is constructor of BingsMapOverlay class.

Overloads

This is constructor of BingsMapOverlay class.

Remarks

This is constructor of <strong>BingsMapOverlay</strong> class.

Parameters

Name Type Description
name String<!– System.String –> A string value indicating the name of this overlay.

Go Back

BingMapsOverlay(String, String, BingMapsStyle)

This is constructor of BingsMapOverlay class.

Overloads

This is constructor of BingsMapOverlay class.

Remarks

This is constructor of <strong>BingsMapOverlay</strong> class.

Parameters

Name Type Description
name String<!– System.String –> A string value indicating the name of this overlay.
token String<!– System.String –> The token for Bing Map service.
bingMapType BingMapsStyle<!– ThinkGeo.MapSuite.SilverlightEdition.BingMapsStyle –> The Bing Map type.

Go Back

Protected Constructors

Public Methods

Draw(RectangleShape, OverlayDrawType)

This method draws the features in the specified extent.

Overloads

Zooms the overlay to the extent that you specify.

Remarks

This method draws the features in the specified extent.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

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(overriden) –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Initialize(Map)

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

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
currentMap Map<!– ThinkGeo.MapSuite.SilverlightEdition.Map –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay(overriden) –> Go Back

Refresh()

This method re-draws this overlay in current extent.

Remarks

This method re-draws this overlay in current extent.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

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

Return Type Description
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> A screen point in pixels.

Parameters

Name Type Description
worldCoordinate Point<!– System.Windows.Point –> A point in world coordinates.

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

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

Return Type Description
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> A screen point in pixels.

Parameters

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

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

Return Type Description
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> A screen point in pixels.

Parameters

Name Type Description
worldCoordinate PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> A point shape in world coordinates.

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

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

Return Type Description
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> A point shape in world coordinates.

Parameters

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

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

Return Type Description
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> A point shape in world coordinates.

Parameters

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

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

Return Type Description
PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> A point shape in world coordinates.

Parameters

Name Type Description
screenCoordinate Point<!– System.Windows.Point –> The point (in screen coordinates) to convert to world coordinates.

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

Protected Methods

DrawAttributionCore(GeoCanvas)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.SilverlightCore.GeoCanvas –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

DrawCore(RectangleShape)

This method draws the features in the specified extent.

Remarks

This method draws the features in the specified extent.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.SilverlightCore.RectangleShape –> A RectangleShape value indicating the world extent need to draw.

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay(overriden) –> Go Back

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetTileUri(Uri, RectangleShape, Int32, Int32, Int32, Int32, Double)

This method gets tile request address from specific parameters.

Remarks

This method gets tile request address from specific parameters.

Return Value

Return Type Description
Uri<!– System.Uri –> A Uri value indicating the real address for requesting the tile image.

Parameters

Name Type Description
serverUri Uri<!– System.Uri –> An Uri value indicating the server which specified.
tileExtent RectangleShape<!– ThinkGeo.MapSuite.SilverlightCore.RectangleShape –> A RectangleShape value indicating the world extent for requesting images.
row Int32<!– System.Int32 –> An integar value indicating the row index of the tile in the whole world extent. It starts from 0.
column Int32<!– System.Int32 –> An integar value indicating the column index of the tile in the whole world extent. It starts from 0.
tileWidth Int32<!– System.Int32 –> A double value indicating the width in pixel of the tile.
tileHeight Int32<!– System.Int32 –> A double value indicating the height in pixel of the tile.
scale Double<!– System.Double –> A double value indicating current scale of current map.

<!– ThinkGeo.MapSuite.SilverlightEdition.BingMapsOverlay –> Go Back

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

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay(overriden) –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

OnDrawingAttribution(DrawingAttributionOverlayEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
args DrawingAttributionOverlayEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.DrawingAttributionOverlayEventArgs –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

OnDrawnAttribution(DrawnAttributionOverlayEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
args DrawnAttributionOverlayEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.DrawnAttributionOverlayEventArgs –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

PanAnimationCompletedCore()

This method raised when Panning animation plays completed.

Remarks

This method raised when Panning animation plays completed.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

ZoomStoryCompletedCore()

This method raised when zooming animation plays completed.

Remarks

This method raised when zooming animation plays completed.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

Public Properties

Attribution

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

BingMapsStyle

Gets or sets the Bing Map Type requesting from Bing Map image server.

Remarks

Gets or sets the Bing Map Type requesting from Bing Map image server.

Return Value

Return Type
BingMapsStyle<!– ThinkGeo.MapSuite.SilverlightEdition.BingMapsStyle –>

<!– ThinkGeo.MapSuite.SilverlightEdition.BingMapsOverlay –> Go Back

IsStretchEffectDisabled

Gets or sets whether the stretch effect is disabled or not.

Remarks

If the wms images are transparent background, the stretched tiles will display right below the real tiles by the default value which affects your map.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.SilverlightEdition.BingMapsOverlay –> Go Back

Return Value

Return Type
GeoImage<!– ThinkGeo.MapSuite.SilverlightCore.GeoImage –>

<!– ThinkGeo.MapSuite.SilverlightEdition.BingMapsOverlay –> Go Back

Name

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

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

Opacity

Gets or sets the opacity level of the overlay.

Remarks

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 Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

OverlayElement

An FrameworkElement that contains the overlay.

Return Value

Return Type
FrameworkElement<!– System.Windows.FrameworkElement –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

PanFrameX

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

Return Value

Return Type
SplineDoubleKeyFrame<!– System.Windows.Media.Animation.SplineDoubleKeyFrame –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

PanFrameY

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

Return Value

Return Type
SplineDoubleKeyFrame<!– System.Windows.Media.Animation.SplineDoubleKeyFrame –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

StoryboardForPanning

Gets the Storyboard object for panning.

Return Value

Return Type
Storyboard<!– System.Windows.Media.Animation.Storyboard –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

StoryboardForZooming

Gets the Storyboard object for zooming.

Return Value

Return Type
Storyboard<!– System.Windows.Media.Animation.Storyboard –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

Token

The token string for Bing Map service.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.SilverlightEdition.BingMapsOverlay –> Go Back

TransitionEffect

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

Return Value

Return Type
TransitionEffect<!– ThinkGeo.MapSuite.SilverlightEdition.TransitionEffect –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

Visibility

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

Return Value

Return Type
Visibility<!– System.Windows.Visibility –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

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

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

ZoomFrameX

Gets the SplineDoubleKeyFrame for zooming.

Return Value

Return Type
SplineDoubleKeyFrame<!– System.Windows.Media.Animation.SplineDoubleKeyFrame –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

ZoomFrameY

Gets the SplineDoubleKeyFrame for zooming.

Return Value

Return Type
SplineDoubleKeyFrame<!– System.Windows.Media.Animation.SplineDoubleKeyFrame –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

Protected Properties

MapInfo

Gets or sets current map information.

Remarks

Gets or sets current map information.

Return Value

Return Type
Map<!– ThinkGeo.MapSuite.SilverlightEdition.Map –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

ScaleTransform

Gets the ScaleTransform object of this overlay.

Remarks

Gets the ScaleTransform object of this overlay.

Return Value

Return Type
ScaleTransform<!– System.Windows.Media.ScaleTransform –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

TransformGroup

Gets the TranslateGroup object for panning and zooming.

Remarks

Gets the TranslateGroup object for panning and zooming.

Return Value

Return Type
TransformGroup<!– System.Windows.Media.TransformGroup –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

TranslateTransform

Gets the TranslateTransform object of this overlay.

Remarks

Gets the TranslateTransform object of this overlay.

Return Value

Return Type
TranslateTransform<!– System.Windows.Media.TranslateTransform –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

Public Events

DrawingAttribution

Event Arguments

Event Arguments
DrawingAttributionOverlayEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.DrawingAttributionOverlayEventArgs –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

DrawnAttribution

Event Arguments

Event Arguments
DrawnAttributionOverlayEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.DrawnAttributionOverlayEventArgs –>

<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> Go Back

NOTOC SilverlightEdition ThinkGeo.MapSuite.SilverlightEdition UpdateDocumentation

thinkgeo.mapsuite.silverlightedition.bingmapsoverlay.1440040134.txt.gz · Last modified: 2015/09/21 03:27 (external edit)