User Tools

Site Tools


thinkgeo.mapsuite.wpfdesktopedition.openstreetmapoverlay

ThinkGeo.MapSuite.WpfDesktopEdition.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 an overlay that requesting images from OpenStreet Map Service.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.WpfDesktopEdition.Overlay
      • ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay
        • ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay

Members Summary

Public Constructors

OpenStreetMapOverlay()

  • This is constructore of OpenStreetMapOverlay.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OpenStreetMapOverlay.28.29
Parameters

OpenStreetMapOverlay(WebProxy)

  • This is constructore of OpenStreetMapOverlay.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OpenStreetMapOverlay.28WebProxy.29
Parameters
  • webProxy
    • Type:WebProxy
    • Description:This parameter indicates a WebProxy for requesting image from OpenStreet imagery service.

Protected Constructors

Public Methods

Refresh(IEnumerable<RectangleShape>)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters

Refresh(TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Refresh.28TimeSpan.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(RectangleShape,TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Refresh.28RectangleShape.2C_TimeSpan.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(IEnumerable<RectangleShape>,TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Initialize(MapArguments)

  • This method initializes overlay object.
Remarks
  • This is a wrapper method for the virtual method InitializeCore.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • mapArguments
    • Description:This parameter maintains current map information for calculating mechanism.

Refresh(RectangleShape)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Refresh.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Refresh()

  • This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.
Remarks
  • The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not.
Return Value
  • Type:Void
  • Description:N/A
Parameters

Close()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Close.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Open()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Open.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Draw(RectangleShape)

  • This method draws the overlay with the provided extent in world coordinate.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Draw.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter indicates an extent in world coordinate for drawing the overlay.

Draw(RectangleShape,OverlayRefreshType)

  • This method draws the overlay with the provided extent in world coordinate.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Draw.28RectangleShape.2C_OverlayRefreshType.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter indicates an extent in world coordinate for drawing the overlay.
  • refreshType
    • Description:This parameter indicates whether the elements of this overlay needs to be refreshed. For example, TileOverlay is formed by tiles. When panning the map around, the existing tile doesn't need to be redraw, the only thing we need to do is modifying the position of these tiles. On another hand, when click to change the style of the overlay, we need to redraw the tile images to change the appearance. So we need refresh mode.

PanTo(RectangleShape)

  • This method pans the overlay to the provided world extent.
Remarks
  • Some overlay doesn't need to continously drawing all the tile. For example, MarkerOverlay is formed by markers. When mouse down to pan, the markers don't need to redraw, we can only change its position. When mouse up to end panning, we can redraw the overlay for better performance.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter is the target world extent for panning.

GetBoundingBox()

  • This method gets a bounding box of the Overlay.
Remarks
  • This method is the concrete wrapper for the abstract method GetBoundingBoxCore. This method returns the bounding box of the Overlay. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Description:A RectangleShape indicating the bounding box of this overlay
Parameters

SaveState()

  • This method saves overlay state to a byte array.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#SaveState.28.29
Return Value
  • Type:Byte[]
  • Description:A byte array indicates current overlay state.
Parameters

LoadState(Byte[])

  • This method restore the overlay state back from the specified state.
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • state
    • Type:Byte[]
    • Description:This parameter indicates the state for restore the overlay.

Dispose()

  • This method dispose unmanaged resource used in this class.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Dispose.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

ToString()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#ToString.28.29
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Equals.28Object.29
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#GetHashCode.28.29
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#GetType.28.29
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

GetTileCore()

  • This method gets a concrete tile class to form this overlay.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#GetTileCore.28.29
Return Value
  • Type:Tile
  • Description:A concrete Tile object that for requesting images from OpenStreet serverice.
Parameters

CloseCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#CloseCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OpenCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OpenCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawTileCore(Tile,RectangleShape)

  • This method overrides from its base class TileOverlay. It actually requests image for the passed tile with the passed world extent.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#DrawTileCore.28Tile.2C_RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tile
    • Type:Tile
    • Description:A tile object that creating by the GetTileCore method. It's the tile which needs to be draw in this mehtod.
  • targetExtent
    • Description:A world extent that to draw the passed tile object.

GetDrawingCellsCore(RectangleShape)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#GetDrawingCellsCore.28RectangleShape.29
Return Value
Parameters

GetBoundingBoxCore()

  • This method gets a world extent for holding the entire OpenStreed map.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#GetBoundingBoxCore.28.29
Return Value
Parameters

SaveStateCore()

  • This method saves overlay state to a byte array.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#SaveStateCore.28.29
Return Value
  • Type:Byte[]
  • Description:A byte array indicates current overlay state.
Parameters

LoadStateCore(Byte[])

  • This method restore the overlay state back from the specified state.
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • state
    • Type:Byte[]
    • Description:This parameter indicates the state for restore the overlay.

OnSendingWebRequest(SendingWebRequestEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnSendingWebRequest.28SendingWebRequestEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnSentWebRequest(SentWebRequestEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnSentWebRequest.28SentWebRequestEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

GBQ=(RectangleShape)

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

HBQ=(QhY=)

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

DrawCore(RectangleShape,OverlayRefreshType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#DrawCore.28RectangleShape.2C_OverlayRefreshType.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

PrefillDataToTiles(IEnumerable<Tile>)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tiles
    • Type:IEnumerable<Tile>
    • Description:N/A

PrefillDataToTilesCore(IEnumerable<Tile>)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tiles
    • Type:IEnumerable<Tile>
    • Description:N/A

RefreshCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#RefreshCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawTilesProgressChanged(DrawTilesProgressChangedTileOverlayEventArgs)

  • Occurs when Tiles' download progress is changed.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawTilesProgressChanged.28DrawTilesProgressChangedTileOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawingTile(DrawingTileTileOverlayEventArgs)

  • This method raises before a tile is drawing.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawingTile.28DrawingTileTileOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnTile(DrawnTileTileOverlayEventArgs)

  • This method raises after a tile is drawn.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawnTile.28DrawnTileTileOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawTile(Tile,RectangleShape)

  • Redraws a specified tile with the provided world extent.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#DrawTile.28Tile.2C_RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tile
    • Type:Tile
    • Description:A Tile object that is created by the GetTile() method to draw.
  • targetExtent
    • Description:A world extent for drawing the passed tile.

Dispose(Boolean)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Dispose.28Boolean.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • disposing
    • Type:Boolean
    • Description:N/A

InitializeCore(MapArguments)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#InitializeCore.28MapArguments.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetDrawingCells(RectangleShape)

  • This method gets the cells for drawing in the passed world extent.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#GetDrawingCells.28RectangleShape.29
Return Value
  • Type:Dictionary<String,TileMatrixCell>
  • Description:A dictionary of cells for drawing in the passed world extent.
Parameters
  • targetExtent
    • Description:A world extent for getting the drawing cells.

GetTileMatrix(Double,Int32,Int32,GeographyUnit)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#GetTileMatrix.28Double.2C_Int32.2C_Int32.2C_GeographyUnit.29
Return Value
Parameters
  • scale
    • Type:Double
    • Description:N/A
  • tileWidth
    • Type:Int32
    • Description:N/A
  • tileHeight
    • Type:Int32
    • Description:N/A

DrawException(GeoCanvas,Exception)

  • This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.
Remarks
  • This method can be overriden its logic by rewrite the DrawExceptionCore.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • canvas
    • Type:GeoCanvas
    • Description:The target canvas to draw the layer.
  • e
    • Type:Exception
    • Description:The exception thrown when layer.Draw().

DrawExceptionCore(GeoCanvas,Exception)

  • This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#DrawExceptionCore.28GeoCanvas.2C_Exception.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • canvas
    • Type:GeoCanvas
    • Description:The target canvas to draw the layer.
  • e
    • Type:Exception
    • Description:The exception thrown when layer.Draw().

OnDrawingException(DrawingExceptionTileOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawingException.28DrawingExceptionTileOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnException(DrawnExceptionTileOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawnException.28DrawnExceptionTileOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnStartingThread(StartingThreadTileOverlayEventArgs)

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

OnTileTypeChanged(TileTypeChangedTileOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters

IhQ=(RectangleShape,Double)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • resolution
    • Type:Double
    • Description:N/A

IxQ=(RectangleShape,Double,Double,Int64,Int64,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Tile
  • Description:N/A
Parameters
  • tileScreenWidth
    • Type:Double
    • Description:N/A
  • tileScreenHeight
    • Type:Double
    • Description:N/A
  • tileColumnIndex
    • Type:Int64
    • Description:N/A
  • tileRowIndex
    • Type:Int64
    • Description:N/A
  • zoomLevelIndex
    • Type:Int32
    • Description:N/A

DrawStretchTiles(RectangleShape)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#DrawStretchTiles.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetSortedCells(Dictionary<String,TileMatrixCell>,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetSortedCellsCore(Dictionary<String,TileMatrixCell>,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

4BM=(IEnumerable<RectangleShape>)

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

RefreshCore(RectangleShape)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#RefreshCore.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

4hM=(GeoCanvas)

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

DrawAttributionCore(GeoCanvas)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#DrawAttributionCore.28GeoCanvas.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawingAttribution(DrawingAttributionOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawingAttribution.28DrawingAttributionOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnAttribution(DrawnAttributionOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawnAttribution.28DrawnAttributionOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

PanToCore(RectangleShape)

  • This method pans the overlay to the provided world extent.
Remarks
  • Some overlay doesn't need to continously drawing all the tile. For example, MarkerOverlay is formed by markers. When mouse down to pan, the markers don't need to redraw, we can only change its position. When mouse up to end panning, we can redraw the overlay for better performance.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter is the target world extent for panning.

OnDrawing(DrawingOverlayEventArgs)

  • This method raises before the overlay is drawing.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawing.28DrawingOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawn(DrawnOverlayEventArgs)

  • This method raises after the overlay is drawn.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawn.28DrawnOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Finalize()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Finalize.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnRefreshing(OverlayRefreshType)

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

MemberwiseClone()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#MemberwiseClone.28.29
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

CustomServerUris

N/A

Remarks
Return Value
  • Type:Collection<Uri>

TimeoutInSeconds

Gets or sets the length of time, in seconds, before the request times out.

Remarks
Return Value
  • Type:Int32

WebProxy

Gets or sets the WebProxy for using OpenStreet map service.

Remarks
Return Value
  • Type:WebProxy

ProjectionFromSphericalMercator

N/A

Remarks
Return Value

ProjectedTileCache

N/A

Remarks
Return Value

TileCache

N/A

Remarks
Return Value

IsVisible

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#IsVisible

Return Value
  • Type:Boolean

TileType

Gets and sets the overlay is formed by multiple tiles or single tile.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#TileType

Return Value

TileWidth

Gets and sets the width of the tile.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#TileWidth

Return Value
  • Type:Int32

TileHeight

Gets and sets the height of the tile.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#TileHeight

Return Value
  • Type:Int32

TransitionEffect

Gets and sets the transition effect of the overlay when zooming. After zooming, the existing tiles stretch and leave in current viewport. Set to None when its background is transparent.

Remarks
Return Value

ImageFormat

Gets and sets drawing format for the tiles.

Remarks
Return Value

JpegQuality

Gets or sets the image quality when the TileImageFormat is Jpeg; otherwise this property has no effects. Its default value is 80.

Remarks
Return Value
  • Type:Int32

TileBuffer

This property gets and sets the number of extra rows and colums of tiles on each side which will surround the minimum grid tiles to cover the map.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#TileBuffer

Return Value
  • Type:Int32

MaxExtent

This property gets or sets the max extent of matrix to calculate the tiles.

Remarks

By default, MaxExtent is null; the matrix is created depending on the GeographyUnit of current map. When it's DecimalDegree, the matrix' is calculated as (-180, 90, 180, -90) as MaxExtent. While it's not DecimalDegree, the matrix is (-1000000000, 1000000000, 1000000000, -1000000000); It's allowed to modify it to customize the matrix.

Return Value

WrappingMode

Thie property gets or sets whether allow wrap date line.

Remarks
Return Value

WrappingExtent

N/A

Remarks
Return Value

AutoRefreshInterval

N/A

Remarks
Return Value
  • Type:TimeSpan

Name

Gets or sets the name of this overaly.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Name

Return Value
  • Type:String

MapArguments

Gets or sets current map information which will be used for calculating mechanism.

Remarks
Return Value

OverlayCanvas

Gets or sets the actual canvas which maintains all the visual elements on the overlay.

Remarks
Return Value
  • Type:Canvas

IsBase

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#IsBase

Return Value
  • Type:Boolean

CanRefreshRegion

N/A

Remarks
Return Value
  • Type:Boolean

DrawingExceptionMode

This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing.

Remarks
Return Value

Attribution

N/A

Remarks
Return Value
  • Type:String

IsEmpty

This property gets if this overlay is empty or not.

Remarks

This property enhances the performance of the overlay while drawing. If is true, we will skip drawing this overlay and continue drawing the next overlay.

Return Value
  • Type:Boolean

Protected Properties

FxQ=

N/A

Remarks

N/A

Return Value
  • Type:aBY=

DrawingCanvas

Gets current drawing canvas which holds actual tile controls.

Remarks
Return Value
  • Type:Canvas

StretchCanvas

Gets current stretch canvas which holds stretched tile controls during the stretch transition.

Remarks
Return Value
  • Type:Canvas

PreviousExtent

Gets or sets the previous exent of the overlay.

Remarks
Return Value

3BM=

N/A

Remarks

N/A

Return Value
  • Type:Double

IsOverlayInitialized

Gets or sets if the overlay canvas is initialized.

Remarks
Return Value
  • Type:Boolean

Public Events

SendingWebRequest N/A

Remarks
Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnSentWebRequest.28SentWebRequestEventArgs.29

Event Arguments:SentWebRequestEventArgs

DrawTilesProgressChanged This event raises when download progress is changed.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawTilesProgressChanged.28DrawTilesProgressChangedTileOverlayEventArgs.29

Event Arguments:DrawTilesProgressChangedTileOverlayEventArgs

DrawingTile This event raises before the tile is drawing.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawingTile.28DrawingTileTileOverlayEventArgs.29

Event Arguments:DrawingTileTileOverlayEventArgs

DrawnTile This event raises after the tile is drawn.

Remarks
Remarks
Remarks
Remarks

For the most updated Info for this topic, please check it here:

Event Arguments:TileTypeChangedTileOverlayEventArgs

StartingThread N/A

Remarks

N/A

Event Arguments:StartingThreadTileOverlayEventArgs

Drawing This event raises before the overlay is drawing.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#GetDrawingCells.28RectangleShape.29

Event Arguments:DrawingOverlayEventArgs

Drawn This event raises after the overlay is drawn.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OnDrawn.28DrawnOverlayEventArgs.29

Event Arguments:DrawnOverlayEventArgs

DrawingAttribution N/A

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