====== ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay ====== {{section>upgrade_map_suite_to_10.0}} 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 ==== ** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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 ==== ** {{wiki:PublicMethod.gif|}} Refresh(IEnumerable) ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:// == Return Value == * Type:Void * Description:N/A == Parameters == * //extentsToRefresh// * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> * Description:N/A
** {{wiki:PublicMethod.gif|}} 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
** {{wiki:PublicMethod.gif|}} 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 * //bufferTimeType// * Type:[[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] * Description:N/A
** {{wiki:PublicMethod.gif|}} 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 == * //extentToRefresh// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A * //bufferTime// * Type:TimeSpan * Description:N/A
** {{wiki:PublicMethod.gif|}} 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 == * //extentToRefresh// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A * //bufferTime// * Type:TimeSpan * Description:N/A * //bufferTimeType// * Type:[[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] * Description:N/A
** {{wiki:PublicMethod.gif|}} Refresh(IEnumerable,TimeSpan) ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:// == Return Value == * Type:Void * Description:N/A == Parameters == * //extentsToRefresh// * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> * Description:N/A * //bufferTime// * Type:TimeSpan * Description:N/A
** {{wiki:PublicMethod.gif|}} Refresh(IEnumerable,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 == * //extentsToRefresh// * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> * Description:N/A * //bufferTime// * Type:TimeSpan * Description:N/A * //bufferTimeType// * Type:[[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] * Description:N/A
** {{wiki:PublicMethod.gif|}} 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// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments|MapArguments]] * Description:This parameter maintains current map information for calculating mechanism.
** {{wiki:PublicMethod.gif|}} 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 == * //extent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:This parameter indicates an extent in world coordinate for drawing the overlay.
** {{wiki:PublicMethod.gif|}} 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// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:This parameter indicates an extent in world coordinate for drawing the overlay. * //refreshType// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.OverlayRefreshType|OverlayRefreshType]] * 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.
** {{wiki:PublicMethod.gif|}} 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// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:This parameter is the target world extent for panning.
** {{wiki:PublicMethod.gif|}} 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 == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:A RectangleShape indicating the bounding box of this overlay == Parameters ==
** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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.
** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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
** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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 ==== ** {{wiki:ProtectedMethod.gif|}} 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:[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]] * Description:A concrete Tile object that for requesting images from OpenStreet serverice. == Parameters ==
** {{wiki:ProtectedMethod.gif|}} 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 ==
** {{wiki:ProtectedMethod.gif|}} 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 ==
** {{wiki:ProtectedMethod.gif|}} 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:[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]] * Description:A tile object that creating by the GetTileCore method. It's the tile which needs to be draw in this mehtod. * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:A world extent that to draw the passed tile object.
** {{wiki:ProtectedMethod.gif|}} 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 == * Type:Dictionary * Description:N/A == Parameters == * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} 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 ==
** {{wiki:ProtectedMethod.gif|}} 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.
** {{wiki:ProtectedMethod.gif|}} 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 == * //e// * Type:[[ThinkGeo.MapSuite.Core.SendingWebRequestEventArgs|SendingWebRequestEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 == * //e// * Type:[[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} GBQ=(RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} HBQ=(QhY=) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //clearTilesMode// * Type:QhY= * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 == * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A * //overlayRefreshType// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.OverlayRefreshType|OverlayRefreshType]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} PrefillDataToTiles(IEnumerable) ** * //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<[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]]> * Description:N/A
** {{wiki:ProtectedMethod.gif|}} PrefillDataToTilesCore(IEnumerable) ** * //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<[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]]> * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 ==
** {{wiki:ProtectedMethod.gif|}} 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 == * //args// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawTilesProgressChangedTileOverlayEventArgs|DrawTilesProgressChangedTileOverlayEventArgs]] * Description:Event arguments for DownloadProgress event.
** {{wiki:ProtectedMethod.gif|}} 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 == * //args// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingTileTileOverlayEventArgs|DrawingTileTileOverlayEventArgs]] * Description:This is an event argument for DrawingTile event.
** {{wiki:ProtectedMethod.gif|}} 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 == * //args// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnTileTileOverlayEventArgs|DrawnTileTileOverlayEventArgs]] * Description:This is an event argument for DrawnTile event.
** {{wiki:ProtectedMethod.gif|}} 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:[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]] * Description:A Tile object that is created by the GetTile() method to draw. * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:A world extent for drawing the passed tile.
** {{wiki:ProtectedMethod.gif|}} 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
** {{wiki:ProtectedMethod.gif|}} 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 == * //mapArguments// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments|MapArguments]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 * Description:A dictionary of cells for drawing in the passed world extent. == Parameters == * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:A world extent for getting the drawing cells.
** {{wiki:ProtectedMethod.gif|}} 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 == * Type:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] * Description:N/A == Parameters == * //scale// * Type:Double * Description:N/A * //tileWidth// * Type:Int32 * Description:N/A * //tileHeight// * Type:Int32 * Description:N/A * //boundingBoxUnit// * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] * Description:The target canvas to draw the layer. * //e// * Type:Exception * Description:The exception thrown when layer.Draw().
** {{wiki:ProtectedMethod.gif|}} 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:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] * Description:The target canvas to draw the layer. * //e// * Type:Exception * Description:The exception thrown when layer.Draw().
** {{wiki:ProtectedMethod.gif|}} 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 == * //e// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingExceptionTileOverlayEventArgs|DrawingExceptionTileOverlayEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 == * //e// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnExceptionTileOverlayEventArgs|DrawnExceptionTileOverlayEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnStartingThread(StartingThreadTileOverlayEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.StartingThreadTileOverlayEventArgs|StartingThreadTileOverlayEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 == * //e// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.TileTypeChangedTileOverlayEventArgs|TileTypeChangedTileOverlayEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} IhQ=(RectangleShape,Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A == Parameters == * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A * //resolution// * Type:Double * Description:N/A
** {{wiki:ProtectedMethod.gif|}} IxQ=(RectangleShape,Double,Double,Int64,Int64,Int32) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]] * Description:N/A == Parameters == * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A * //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
** {{wiki:ProtectedMethod.gif|}} 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 == * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} GetSortedCells(Dictionary,RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Dictionary * Description:N/A == Parameters == * //cells// * Type:Dictionary * Description:N/A * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} GetSortedCellsCore(Dictionary,RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Dictionary * Description:N/A == Parameters == * //cells// * Type:Dictionary * Description:N/A * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 4BM=(IEnumerable) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //extentsToRefresh// * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 == * //extent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 4hM=(GeoCanvas) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 == * //canvas// * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 == * //args// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingAttributionOverlayEventArgs|DrawingAttributionOverlayEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 == * //args// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnAttributionOverlayEventArgs|DrawnAttributionOverlayEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:This parameter is the target world extent for panning.
** {{wiki:ProtectedMethod.gif|}} 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 == * //e// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingOverlayEventArgs|DrawingOverlayEventArgs]] * Description:This parameter is the event argument for Drawing event.
** {{wiki:ProtectedMethod.gif|}} 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 == * //e// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnOverlayEventArgs|DrawnOverlayEventArgs]] * Description:This parameter is the event argument for Drawn event.
** {{wiki:ProtectedMethod.gif|}} 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 ==
** {{wiki:ProtectedMethod.gif|}} OnRefreshing(OverlayRefreshType) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //refreshType// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.OverlayRefreshType|OverlayRefreshType]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 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 ==== ** {{wiki:PublicProperty.gif|}} CustomServerUris ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#CustomServerUris == Return Value == * Type:Collection ** {{wiki:PublicProperty.gif|}} TimeoutInSeconds ** Gets or sets the length of time, in seconds, before the request times out. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#TimeoutInSeconds == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} WebProxy ** Gets or sets the WebProxy for using OpenStreet map service. == 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 == Return Value == * Type:WebProxy ** {{wiki:PublicProperty.gif|}} ProjectionFromSphericalMercator ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#ProjectionFromSphericalMercator == Return Value == * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] ** {{wiki:PublicProperty.gif|}} ProjectedTileCache ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#ProjectedTileCache == Return Value == * Type:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] ** {{wiki:PublicProperty.gif|}} TileCache ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#ProjectedTileCache == Return Value == * Type:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] ** {{wiki:PublicProperty.gif|}} 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 ** {{wiki:PublicProperty.gif|}} 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 == * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.TileType|TileType]] ** {{wiki:PublicProperty.gif|}} 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 ** {{wiki:PublicProperty.gif|}} 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 ** {{wiki:PublicProperty.gif|}} 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 == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#TransitionEffect == Return Value == * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.TransitionEffect|TransitionEffect]] ** {{wiki:PublicProperty.gif|}} ImageFormat ** Gets and sets drawing format for the tiles. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#ImageFormat == Return Value == * Type:[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] ** {{wiki:PublicProperty.gif|}} JpegQuality ** Gets or sets the image quality when the TileImageFormat is Jpeg; otherwise this property has no effects. Its default value is 80. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#JpegQuality == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} 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 ** {{wiki:PublicProperty.gif|}} 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 == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ** {{wiki:PublicProperty.gif|}} WrappingMode ** Thie property gets or sets whether allow wrap date line. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#WrappingMode == Return Value == * Type:[[ThinkGeo.MapSuite.Core.WrappingMode|WrappingMode]] ** {{wiki:PublicProperty.gif|}} WrappingExtent ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#WrappingExtent == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ** {{wiki:PublicProperty.gif|}} AutoRefreshInterval ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#AutoRefreshInterval == Return Value == * Type:TimeSpan ** {{wiki:PublicProperty.gif|}} 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 ** {{wiki:PublicProperty.gif|}} MapArguments ** Gets or sets current map information which will be used for calculating mechanism. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#Initialize.28MapArguments.29 == Return Value == * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments|MapArguments]] ** {{wiki:PublicProperty.gif|}} OverlayCanvas ** Gets or sets the actual canvas which maintains all the visual elements on the overlay. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#OverlayCanvas == Return Value == * Type:Canvas ** {{wiki:PublicProperty.gif|}} 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 ** {{wiki:PublicProperty.gif|}} CanRefreshRegion ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#CanRefreshRegion == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} DrawingExceptionMode ** This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#DrawingExceptionMode == Return Value == * Type:[[ThinkGeo.MapSuite.Core.DrawingExceptionMode|DrawingExceptionMode]] ** {{wiki:PublicProperty.gif|}} Attribution ** 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:String ** {{wiki:PublicProperty.gif|}} 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 ==== ** {{wiki:ProtectedProperty.gif|}} FxQ= ** N/A == Remarks == N/A == Return Value == * Type:aBY= ** {{wiki:ProtectedProperty.gif|}} DrawingCanvas ** Gets current drawing canvas which holds actual tile controls. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#DrawingCanvas == Return Value == * Type:Canvas ** {{wiki:ProtectedProperty.gif|}} StretchCanvas ** Gets current stretch canvas which holds stretched tile controls during the stretch transition. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#StretchCanvas == Return Value == * Type:Canvas ** {{wiki:ProtectedProperty.gif|}} PreviousExtent ** Gets or sets the previous exent of the overlay. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#PreviousExtent == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ** {{wiki:ProtectedProperty.gif|}} 3BM= ** N/A == Remarks == N/A == Return Value == * Type:Double ** {{wiki:ProtectedProperty.gif|}} IsOverlayInitialized ** Gets or sets if the overlay canvas is initialized. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay#IsOverlayInitialized == Return Value == * Type:Boolean ==== Public Events ==== ** {{wiki:PublicEvent.gif|}} SendingWebRequest ** 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 Event Arguments:[[ThinkGeo.MapSuite.Core.SendingWebRequestEventArgs|SendingWebRequestEventArgs]] ** {{wiki:PublicEvent.gif|}} SentWebRequest ** 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 Event Arguments:[[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]] ** {{wiki:PublicEvent.gif|}} 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:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawTilesProgressChangedTileOverlayEventArgs|DrawTilesProgressChangedTileOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} 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:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingTileTileOverlayEventArgs|DrawingTileTileOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawnTile ** This event raises after the 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 Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnTileTileOverlayEventArgs|DrawnTileTileOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawingException ** 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 Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingExceptionTileOverlayEventArgs|DrawingExceptionTileOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawnException ** 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 Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnExceptionTileOverlayEventArgs|DrawnExceptionTileOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} TileTypeChanged ** N/A == Remarks == For the most updated Info for this topic, please check it here: Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.TileTypeChangedTileOverlayEventArgs|TileTypeChangedTileOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} StartingThread ** N/A == Remarks == N/A Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.StartingThreadTileOverlayEventArgs|StartingThreadTileOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} 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:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingOverlayEventArgs|DrawingOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} 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:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnOverlayEventArgs|DrawnOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawingAttribution ** 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 Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingAttributionOverlayEventArgs|DrawingAttributionOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawnAttribution ** 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 Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnAttributionOverlayEventArgs|DrawnAttributionOverlayEventArgs]]