User Tools

Site Tools


thinkgeo.mapsuite.silverlightedition.openstreetmapoverlay

ThinkGeo.MapSuite.SilverlightEdition.OpenStreetMapOverlay

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 class represents the OpenStreetMapOverlay which requests images from OpenStreetMap's image server.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.SilverlightEdition.Overlay
      • ThinkGeo.MapSuite.SilverlightEdition.OpenStreetMapOverlay

Members Summary

Public Constructors

OpenStreetMapOverlay()

  • This is constructor of OpenStreetMapOverlay class.
Remarks
  • This is constructor of OpenStreetMapOverlay class.
Parameters

OpenStreetMapOverlay(String)

  • This is constructor of OpenStreetMapOverlay class.
Remarks
  • This is constructor of OpenStreetMapOverlay class.
Parameters
  • name
    • Type:String
    • Description:A string value indicating the name of this overlay.

Protected Constructors

Public Methods

Initialize(Map)

  • This method initializes the overlay canvas such as width, height and z-index for first time.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • currentMap
    • Type:Map
    • Description:N/A

Draw(RectangleShape,OverlayDrawType)

  • 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
  • overlayDrawType
    • Description:The enum value indecating that the map draws features or not.

Refresh()

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

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

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:A RectangleShape value indicating the world extent need to draw.

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

  • This method gets the uri address which uses for requesting images from Wms server.
Remarks
  • This method gets the uri address which uses for requesting images from Wms server.
Return Value
  • Type:Uri
  • Description:An uri address which uses for requesting images from Wms server.
Parameters
  • tileExtent
    • Description:A RectangleShape value indicating the tile extent which uses for requesting images from wms server.
  • row
    • Type:Int32
    • Description:An integar value indicating the row index of the tile in the world extent.
  • column
    • Type:Int32
    • Description:An integar value indicating the row index of the tile in the world extent.
  • tileWidth
    • Type:Int32
    • Description:A double value indicating the width in pixel of the tile.
  • tileHeight
    • Type:Int32
    • Description:A double value indicating the height in pixel of the tile.
  • scale
    • Type:Double
    • Description:A double value indicating current scale of the requesting tile.

LxU=(RectangleShape)

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

MBU=(Image,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • image
    • Type:Image
    • Description:N/A

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

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
  • Type:Boolean

CustomServerUris

N/A

Remarks

N/A

Return Value
  • Type:Collection<Uri>

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

DrawingAttribution N/A

Remarks

N/A

Event Arguments:DrawingAttributionOverlayEventArgs

DrawnAttribution N/A

Remarks

N/A

Event Arguments:DrawnAttributionOverlayEventArgs

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