This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.wpfdesktopedition.tileoverlay [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.wpfdesktopedition.tileoverlay [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay ====== | ====== ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay ====== | ||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | |||
- | <!-- Class --> | ||
Represents an overlay that maintains tiles. | Represents an overlay that maintains tiles. | ||
- | === Remarks === | ||
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay</a> | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | + | *System.Object |
- | **[[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay]] | + | *ThinkGeo.MapSuite.WpfDesktopEdition.Overlay |
- | ***[[ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay]] | + | ***ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay** |
- | ****[[ThinkGeo.MapSuite.WpfDesktopEdition.BingMapsOverlay]] | + | *[[ThinkGeo.MapSuite.WpfDesktopEdition.GoogleMapsOverlay]] |
- | ****[[ThinkGeo.MapSuite.WpfDesktopEdition.BingMapsTileOverlay]] | + | *[[ThinkGeo.MapSuite.WpfDesktopEdition.BingMapsOverlay]] |
- | ****[[ThinkGeo.MapSuite.WpfDesktopEdition.GoogleMapsOverlay]] | + | *[[ThinkGeo.MapSuite.WpfDesktopEdition.BingMapsTileOverlay]] |
- | ****[[ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay]] | + | *[[ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay]] |
- | ****[[ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay]] | + | *[[ThinkGeo.MapSuite.WpfDesktopEdition.WmtsTiledOverlay]] |
- | ****[[ThinkGeo.MapSuite.WpfDesktopEdition.TiledWmsOverlay]] | + | *[[ThinkGeo.MapSuite.WpfDesktopEdition.OpenStreetMapOverlay]] |
- | ****[[ThinkGeo.MapSuite.WpfDesktopEdition.WmsOverlay]] | + | *[[ThinkGeo.MapSuite.WpfDesktopEdition.WmsOverlay]] |
- | ****[[ThinkGeo.MapSuite.WpfDesktopEdition.WmtsTiledOverlay]] | + | *[[ThinkGeo.MapSuite.WpfDesktopEdition.WorldMapKitWmsWpfOverlay]] |
- | ****[[ThinkGeo.MapSuite.WpfDesktopEdition.WorldMapKitWmsWpfOverlay]] | + | |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | |||
==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:ProtectedMethod.gif|}} TileOverlay() ** |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#TileOverlay()|TileOverlay]] | | | Constructor of TileOverlay class. | | + | |
+ | * //Constructor of TileOverlay class.// | ||
+ | == Remarks == | ||
+ | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileOverlay.28.29// | ||
+ | == Parameters == | ||
+ | <div newline></div> | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} Refresh(IEnumerable<RectangleShape>) ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Close()|Close]] | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Dispose()|Dispose]] | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method dispose unmanaged resource used in this class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Draw(RectangleShape, OverlayRefreshType)|Draw]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], [[ThinkGeo.MapSuite.WpfDesktopEdition.OverlayRefreshType|OverlayRefreshType]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method draws the overlay with the provided extent in world coordinate. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Draw(RectangleShape)|Draw]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method draws the overlay with the provided extent in world coordinate. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetBoundingBox()|GetBoundingBox]] | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method gets a bounding box of the Overlay. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Initialize(MapArguments)|Initialize]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments|MapArguments]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method initializes overlay object. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#LoadState(Byte[])|LoadState]] | Byte[] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method restore the overlay state back from the specified state. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Open()|Open]] | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#PanTo(RectangleShape)|PanTo]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method pans the overlay to the provided world extent. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh(IEnumerable<RectangleShape>, TimeSpan)|Refresh]] | IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]>, TimeSpan | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh(IEnumerable<RectangleShape>)|Refresh]] | IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh(TimeSpan)|Refresh]] | TimeSpan | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh()|Refresh]] | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | 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. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh(RectangleShape)|Refresh]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh(TimeSpan, RequestDrawingBufferTimeType)|Refresh]] | TimeSpan, [[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh(IEnumerable<RectangleShape>, TimeSpan, RequestDrawingBufferTimeType)|Refresh]] | IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]>, TimeSpan, [[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh(RectangleShape, TimeSpan)|Refresh]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], TimeSpan | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh(RectangleShape, TimeSpan, RequestDrawingBufferTimeType)|Refresh]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], TimeSpan, [[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#SaveState()|SaveState]] | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method saves overlay state to a byte array. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
+ | * //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 | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#Refresh.28TimeSpan.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //bufferTime// | ||
+ | * Type:TimeSpan | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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 | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#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 | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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 | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * //extentsToRefresh// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | * //bufferTime// | ||
+ | * Type:TimeSpan | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} 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 == | ||
+ | * //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 | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#Refresh.28RectangleShape.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //extent// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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 == | ||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#Close.28.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#Open.28.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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 == | ||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#SaveState.28.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Byte[] | ||
+ | * Description:A byte array indicates current overlay state. | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#Dispose.28.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#ToString.28.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#Equals.28Object.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //obj// | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#GetHashCode.28.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Int32 | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#GetType.28.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Type | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
==== Protected Methods ==== | ==== Protected Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:ProtectedMethod.gif|}} GBQ=(RectangleShape) ** |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#CloseCore()|CloseCore]] | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Dispose(Boolean)|Dispose]] | Boolean | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]](overriden) | This method disposes unmanaged resources used in this class. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawAttributionCore(GeoCanvas)|DrawAttributionCore]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawCore(RectangleShape, OverlayRefreshType)|DrawCore]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], [[ThinkGeo.MapSuite.WpfDesktopEdition.OverlayRefreshType|OverlayRefreshType]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]](overriden) | Draws current overlay with provided world extent. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawException(GeoCanvas, Exception)|DrawException]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|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. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawExceptionCore(GeoCanvas, Exception)|DrawExceptionCore]] | [[ThinkGeo.MapSuite.Core.GeoCanvas|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. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawStretchTiles(RectangleShape)|DrawStretchTiles]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawTile(Tile, RectangleShape)|DrawTile]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]], [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | Redraws a specified tile with the provided world extent. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawTileCore(Tile, RectangleShape)|DrawTileCore]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]], [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | Redraws a specified tile with the provided world extent. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object(overriden) | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetBoundingBoxCore()|GetBoundingBoxCore]] | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method returns the bounding box of the Overlay. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetDrawingCells(RectangleShape)|GetDrawingCells]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | This method gets the cells for drawing in the passed world extent. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetDrawingCellsCore(RectangleShape)|GetDrawingCellsCore]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | This method gets the cells for drawing in the passed world extent. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetSortedCells(Dictionary<String, TileMatrixCell>, RectangleShape)|GetSortedCells]] | Dictionary<String, [[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]>, [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetSortedCellsCore(Dictionary<String, TileMatrixCell>, RectangleShape)|GetSortedCellsCore]] | Dictionary<String, [[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]>, [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetTileCore()|GetTileCore]] | | | Chooses a tile object to form the TileOverlay. When overriding this method, consider the initialize parameters setting on the tile. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetTileMatrix(Double, Int32, Int32, GeographyUnit)|GetTileMatrix]] | Double, Int32, Int32, [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#InitializeCore(MapArguments)|InitializeCore]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments|MapArguments]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]](overriden) | This method initializes overlay object. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#LoadStateCore(Byte[])|LoadStateCore]] | Byte[] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]](overriden) | This method restore the overlay state back from the specified state. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawTilesProgressChanged(DrawTilesProgressChangedTileOverlayEventArgs)|OnDrawTilesProgressChanged]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawTilesProgressChangedTileOverlayEventArgs|DrawTilesProgressChangedTileOverlayEventArgs]] | | Occurs when Tiles' download progress is changed. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawing(DrawingOverlayEventArgs)|OnDrawing]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingOverlayEventArgs|DrawingOverlayEventArgs]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method raises before the overlay is drawing. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawingAttribution(DrawingAttributionOverlayEventArgs)|OnDrawingAttribution]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingAttributionOverlayEventArgs|DrawingAttributionOverlayEventArgs]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawingException(DrawingExceptionTileOverlayEventArgs)|OnDrawingException]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingExceptionTileOverlayEventArgs|DrawingExceptionTileOverlayEventArgs]] | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawingTile(DrawingTileTileOverlayEventArgs)|OnDrawingTile]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingTileTileOverlayEventArgs|DrawingTileTileOverlayEventArgs]] | | This method raises before a tile is drawing. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawn(DrawnOverlayEventArgs)|OnDrawn]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnOverlayEventArgs|DrawnOverlayEventArgs]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method raises after the overlay is drawn. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawnAttribution(DrawnAttributionOverlayEventArgs)|OnDrawnAttribution]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnAttributionOverlayEventArgs|DrawnAttributionOverlayEventArgs]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawnException(DrawnExceptionTileOverlayEventArgs)|OnDrawnException]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnExceptionTileOverlayEventArgs|DrawnExceptionTileOverlayEventArgs]] | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawnTile(DrawnTileTileOverlayEventArgs)|OnDrawnTile]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnTileTileOverlayEventArgs|DrawnTileTileOverlayEventArgs]] | | This method raises after a tile is drawn. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnTileTypeChanged(TileTypeChangedTileOverlayEventArgs)|OnTileTypeChanged]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.TileTypeChangedTileOverlayEventArgs|TileTypeChangedTileOverlayEventArgs]] | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OpenCore()|OpenCore]] | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#PanToCore(RectangleShape)|PanToCore]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This method pans the overlay to the provided world extent. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#PrefillDataToTiles(IEnumerable<Tile>)|PrefillDataToTiles]] | IEnumerable<[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]]> | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#PrefillDataToTilesCore(IEnumerable<Tile>)|PrefillDataToTilesCore]] | IEnumerable<[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]]> | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#RefreshCore(RectangleShape)|RefreshCore]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#RefreshCore()|RefreshCore]] | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]](overriden) | Refreshes tiles on the overlay. When calling this mehtod, all the tiles including map tiles and stretched tiles will be cleared. And reform with new tiles. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#SaveStateCore()|SaveStateCore]] | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]](overriden) | This method saves overlay state to a byte array. | | + | |
- | ==== Public Properties ==== | + | * //N/A// |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Attribution|Attribution]] | String | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | * //N/A// |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#AutoRefreshInterval|AutoRefreshInterval]] | TimeSpan | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CanRefreshRegion|CanRefreshRegion]] | Boolean | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#DrawingExceptionMode|DrawingExceptionMode]] | [[ThinkGeo.MapSuite.Core.DrawingExceptionMode|DrawingExceptionMode]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ImageFormat|ImageFormat]] | [[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] | | Gets and sets drawing format for the tiles. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsBase|IsBase]] | Boolean | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsEmpty|IsEmpty]] | Boolean | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This property gets if this overlay is empty or not. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsVisible|IsVisible]] | Boolean | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]](overriden) | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#JpegQuality|JpegQuality]] | Int32 | | Gets or sets the image quality when the TileImageFormat is Jpeg; otherwise this property has no effects. Its default value is 80. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#MapArguments|MapArguments]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments|MapArguments]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | Gets or sets current map information which will be used for calculating mechanism. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#MaxExtent|MaxExtent]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | This property gets or sets the max extent of matrix to calculate the tiles. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Name|Name]] | String | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | Gets or sets the name of this overaly. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#OverlayCanvas|OverlayCanvas]] | Canvas | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | Gets or sets the actual canvas which maintains all the visual elements on the overlay. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#TileBuffer|TileBuffer]] | Int32 | | 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. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#TileCache|TileCache]] | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | | Gets and sets a tile cache object for saving the tiles. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#TileHeight|TileHeight]] | Int32 | | Gets and sets the height of the tile. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#TileType|TileType]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.TileType|TileType]] | | Gets and sets the overlay is formed by multiple tiles or single tile. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#TileWidth|TileWidth]] | Int32 | | Gets and sets the width of the tile. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#TransitionEffect|TransitionEffect]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.TransitionEffect|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. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#WrappingExtent|WrappingExtent]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#WrappingMode|WrappingMode]] | [[ThinkGeo.MapSuite.Core.WrappingMode|WrappingMode]] | | Thie property gets or sets whether allow wrap date line. | | + | |
- | ==== Protected Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:Void |
- | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#DrawingCanvas|DrawingCanvas]] | Canvas | | Gets current drawing canvas which holds actual tile controls. | | + | * Description:N/A |
- | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#IsOverlayInitialized|IsOverlayInitialized]] | Boolean | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | Gets or sets if the overlay canvas is initialized. | | + | |
- | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#PreviousExtent|PreviousExtent]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | Gets or sets the previous exent of the overlay. | | + | |
- | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#StretchCanvas|StretchCanvas]] | Canvas | | Gets current stretch canvas which holds stretched tile controls during the stretch transition. | | + | |
- | ==== Public Events ==== | + | == Parameters == |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | * //targetExtent// |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawTilesProgressChanged|DrawTilesProgressChanged]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawTilesProgressChangedTileOverlayEventArgs|DrawTilesProgressChangedTileOverlayEventArgs]] | | This event raises when download progress is changed. | | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#Drawing|Drawing]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingOverlayEventArgs|DrawingOverlayEventArgs]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This event raises before the overlay is drawing. | | + | * Description:N/A |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawingAttribution|DrawingAttribution]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingAttributionOverlayEventArgs|DrawingAttributionOverlayEventArgs]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawingException|DrawingException]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingExceptionTileOverlayEventArgs|DrawingExceptionTileOverlayEventArgs]] | | | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawingTile|DrawingTile]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingTileTileOverlayEventArgs|DrawingTileTileOverlayEventArgs]] | | This event raises before the tile is drawing. | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#Drawn|Drawn]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnOverlayEventArgs|DrawnOverlayEventArgs]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | This event raises after the overlay is drawn. | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawnAttribution|DrawnAttribution]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnAttributionOverlayEventArgs|DrawnAttributionOverlayEventArgs]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.Overlay|Overlay]] | | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawnException|DrawnException]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnExceptionTileOverlayEventArgs|DrawnExceptionTileOverlayEventArgs]] | | | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawnTile|DrawnTile]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnTileTileOverlayEventArgs|DrawnTileTileOverlayEventArgs]] | | This event raises after the tile is drawn. | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#TileTypeChanged|TileTypeChanged]] | [[ThinkGeo.MapSuite.WpfDesktopEdition.TileTypeChangedTileOverlayEventArgs|TileTypeChangedTileOverlayEventArgs]] | | | | + | |
- | ===== Public Constructors ===== | + | <div newline></div> |
- | ===== Protected Constructors ===== | + | ** {{wiki:ProtectedMethod.gif|}} HBQ=(QhY=) ** |
- | ==== TileOverlay() ==== | + | |
- | Constructor of TileOverlay class. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileOverlay.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileOverlay.28.29</a> | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | [[#Protected Constructors|Go Back]] | + | * //N/A// |
- | ===== Public Methods ===== | + | == Remarks == |
- | ==== Close() ==== | + | * //N/A// |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Close.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Close.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //clearTilesMode// |
- | ==== Dispose() ==== | + | * Type:QhY= |
- | This method dispose unmanaged resource used in this class. | + | * Description:N/A |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Dispose.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Dispose.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} DrawCore(RectangleShape,OverlayRefreshType) ** |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //Draws current overlay with provided world extent.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Draw(RectangleShape, OverlayRefreshType) ==== | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawCore.28RectangleShape.2C_OverlayRefreshType.29// |
- | 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:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Draw.28RectangleShape.2C_OverlayRefreshType.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Draw.28RectangleShape.2C_OverlayRefreshType.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | This parameter indicates an extent in world coordinate for drawing the overlay. | | + | * Description:N/A |
- | | refreshType | [[ThinkGeo.MapSuite.WpfDesktopEdition.OverlayRefreshType|OverlayRefreshType]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.OverlayRefreshType --> | 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. | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //targetExtent// |
- | ==== Draw(RectangleShape) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | This method draws the overlay with the provided extent in world coordinate. | + | * Description:A world extent for drawing. |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Draw.28RectangleShape.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Draw.28RectangleShape.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //overlayRefreshType// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.OverlayRefreshType|OverlayRefreshType]] |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | This parameter indicates an extent in world coordinate for drawing the overlay. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} PrefillDataToTiles(IEnumerable<Tile>) ** |
- | ==== Equals(Object) ==== | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Equals.28Object.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Equals.28Object.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | obj | Object<!-- System.Object --> | | | + | * //For the most updated Info for this topic, please check it here:// |
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== GetBoundingBox() ==== | + | * Description:N/A |
- | 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 === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | A RectangleShape indicating the bounding box of this overlay | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //tiles// |
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]]> | ||
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} PrefillDataToTilesCore(IEnumerable<Tile>) ** |
- | ==== GetHashCode() ==== | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetHashCode.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetHashCode.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //For the most updated Info for this topic, please check it here:// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== GetType() ==== | + | * Description:N/A |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetType.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetType.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //tiles// |
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]]> | ||
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} RefreshCore() ** |
- | ==== Initialize(MapArguments) ==== | + | |
- | This method initializes overlay object. | + | |
- | === Remarks === | + | |
- | This is a wrapper method for the virtual method InitializeCore. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //Refreshes tiles on the overlay. When calling this mehtod, all the tiles including map tiles and stretched tiles will be cleared. And reform with new tiles.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | mapArguments | [[ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments|MapArguments]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments --> | This parameter maintains current map information for calculating mechanism. | | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#RefreshCore.28.29// |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== LoadState(Byte[]) ==== | + | * Description:N/A |
- | This method restore the overlay state back from the specified state. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
- | | state | Byte[]<!-- System.Byte[[]] --> | This parameter indicates the state for restore the overlay. | | + | ** {{wiki:ProtectedMethod.gif|}} OnDrawTilesProgressChanged(DrawTilesProgressChangedTileOverlayEventArgs) ** |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //Occurs when Tiles' download progress is changed.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Open() ==== | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawTilesProgressChanged.28DrawTilesProgressChangedTileOverlayEventArgs.29// |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Open.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Open.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //args// |
- | ==== PanTo(RectangleShape) ==== | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawTilesProgressChangedTileOverlayEventArgs|DrawTilesProgressChangedTileOverlayEventArgs]] |
- | This method pans the overlay to the provided world extent. | + | * Description:Event arguments for DownloadProgress event. |
- | === 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 === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} OnDrawingTile(DrawingTileTileOverlayEventArgs) ** |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | This parameter is the target world extent for panning. | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //This method raises before a tile is drawing.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Refresh(IEnumerable<RectangleShape>, TimeSpan) ==== | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingTile.28DrawingTileTileOverlayEventArgs.29// |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | extentsToRefresh | IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.RectangleShape} --> | | | + | * Description:N/A |
- | | bufferTime | TimeSpan<!-- System.TimeSpan --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //args// |
- | ==== Refresh(IEnumerable<RectangleShape>) ==== | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingTileTileOverlayEventArgs|DrawingTileTileOverlayEventArgs]] |
- | === Remarks === | + | * Description:This is an event argument for DrawingTile event. |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} OnDrawnTile(DrawnTileTileOverlayEventArgs) ** |
- | | extentsToRefresh | IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.RectangleShape} --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //This method raises after a tile is drawn.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Refresh(TimeSpan) ==== | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnTile.28DrawnTileTileOverlayEventArgs.29// |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Refresh.28TimeSpan.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Refresh.28TimeSpan.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | bufferTime | TimeSpan<!-- System.TimeSpan --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //args// |
- | ==== Refresh() ==== | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnTileTileOverlayEventArgs|DrawnTileTileOverlayEventArgs]] |
- | 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. | + | * Description:This is an event argument for DrawnTile event. |
- | === Remarks === | + | |
- | The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} GetTileCore() ** |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //Chooses a tile object to form the TileOverlay. When overriding this method, consider the initialize parameters setting on the tile.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Refresh(RectangleShape) ==== | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetTileCore.28.29// |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Refresh.28RectangleShape.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Refresh.28RectangleShape.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]] |
- | | extent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | * Description:A tile object to form the TileOverlay. |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== Refresh(TimeSpan, RequestDrawingBufferTimeType) ==== | + | ** {{wiki:ProtectedMethod.gif|}} SaveStateCore() ** |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //This method saves overlay state to a byte array.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | bufferTime | TimeSpan<!-- System.TimeSpan --> | | | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#SaveStateCore.28.29// |
- | | bufferTimeType | [[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]]<!-- ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Byte[] |
- | ==== Refresh(IEnumerable<RectangleShape>, TimeSpan, RequestDrawingBufferTimeType) ==== | + | * Description:A byte array indicates current overlay state. |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
- | | extentsToRefresh | IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.RectangleShape} --> | | | + | ** {{wiki:ProtectedMethod.gif|}} LoadStateCore(Byte[]) ** |
- | | bufferTime | TimeSpan<!-- System.TimeSpan --> | | | + | |
- | | bufferTimeType | [[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]]<!-- ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //This method restore the overlay state back from the specified state.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Refresh(RectangleShape, TimeSpan) ==== | + | * //For the most updated Info for this topic, please check it here:// |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Refresh.28RectangleShape.2C_TimeSpan.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Refresh.28RectangleShape.2C_TimeSpan.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | extentToRefresh | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | * Description:N/A |
- | | bufferTime | TimeSpan<!-- System.TimeSpan --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //state// |
- | ==== Refresh(RectangleShape, TimeSpan, RequestDrawingBufferTimeType) ==== | + | * Type:Byte[] |
- | === Remarks === | + | * Description:This parameter indicates the state for restore the overlay. |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} DrawTile(Tile,RectangleShape) ** |
- | | extentToRefresh | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | |
- | | bufferTime | TimeSpan<!-- System.TimeSpan --> | | | + | |
- | | bufferTimeType | [[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]]<!-- ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //Redraws a specified tile with the provided world extent.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== SaveState() ==== | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawTile.28Tile.2C_RectangleShape.29// |
- | This method saves overlay state to a byte array. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#SaveState.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#SaveState.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Byte[]<!-- System.Byte[[]] --> | A byte array indicates current overlay state. | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //tile// |
- | ==== ToString() ==== | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]] |
- | === Remarks === | + | * Description:A Tile object that is created by the GetTile() method to draw. |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#ToString.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#ToString.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //targetExtent// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
+ | * Description:A world extent for drawing the passed tile. | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} DrawTileCore(Tile,RectangleShape) ** |
- | ===== Protected Methods ===== | + | |
- | ==== CloseCore() ==== | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#CloseCore.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#CloseCore.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //Redraws a specified tile with the provided world extent.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawTileCore.28Tile.2C_RectangleShape.29// | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== Dispose(Boolean) ==== | + | * Description:N/A |
- | This method disposes unmanaged resources used in this class. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Dispose.28Boolean.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Dispose.28Boolean.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //tile// |
- | | disposing | Boolean<!-- System.Boolean --> | | | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]] |
+ | * Description:A Tile object that is created by the GetTile() method to draw. | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay(overriden) --> | + | * //targetExtent// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | ==== DrawAttributionCore(GeoCanvas) ==== | + | * Description:A world extent for drawing the passed tile. |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawAttributionCore.28GeoCanvas.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawAttributionCore.28GeoCanvas.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} Dispose(Boolean) ** |
- | | canvas | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //This method disposes unmanaged resources used in this class.// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== DrawCore(RectangleShape, OverlayRefreshType) ==== | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Dispose.28Boolean.29// |
- | Draws current overlay with provided world extent. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawCore.28RectangleShape.2C_OverlayRefreshType.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawCore.28RectangleShape.2C_OverlayRefreshType.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | A world extent for drawing. | | + | * Description:N/A |
- | | overlayRefreshType | [[ThinkGeo.MapSuite.WpfDesktopEdition.OverlayRefreshType|OverlayRefreshType]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.OverlayRefreshType --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay(overriden) --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //disposing// |
- | ==== DrawException(GeoCanvas, Exception) ==== | + | * Type:Boolean |
- | This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException. | + | * Description:N/A |
- | === Remarks === | + | |
- | This method can be overriden its logic by rewrite the DrawExceptionCore. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} InitializeCore(MapArguments) ** |
- | | canvas | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | The target canvas to draw the layer. | | + | |
- | | e | Exception<!-- System.Exception --> | The exception thrown when layer.Draw(). | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | * //This method initializes overlay object.// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== DrawExceptionCore(GeoCanvas, Exception) ==== | + | * //When implementing this method, consider initializing the overlay canvas such as setting its z-index, setting current map reference to the CurrentMap property.// |
- | 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:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawExceptionCore.28GeoCanvas.2C_Exception.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawExceptionCore.28GeoCanvas.2C_Exception.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | canvas | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | The target canvas to draw the layer. | | + | * Description:N/A |
- | | e | Exception<!-- System.Exception --> | The exception thrown when layer.Draw(). | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //mapArguments// |
- | ==== DrawStretchTiles(RectangleShape) ==== | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments|MapArguments]] |
- | === Remarks === | + | * Description:This parameter maintains current map information for calculating mechanism. |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawStretchTiles.28RectangleShape.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawStretchTiles.28RectangleShape.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} GetDrawingCells(RectangleShape) ** |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | * //This method gets the cells for drawing in the passed world extent.// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== DrawTile(Tile, RectangleShape) ==== | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetDrawingCells.28RectangleShape.29// |
- | Redraws a specified tile with the provided world extent. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawTile.28Tile.2C_RectangleShape.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawTile.28Tile.2C_RectangleShape.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]> |
- | | tile | [[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.Tile --> | A Tile object that is created by the GetTile() method to draw. | | + | * Description:A dictionary of cells for drawing in the passed world extent. |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | A world extent for drawing the passed tile. | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //targetExtent// |
- | ==== DrawTileCore(Tile, RectangleShape) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | Redraws a specified tile with the provided world extent. | + | * Description:A world extent for getting the drawing cells. |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawTileCore.28Tile.2C_RectangleShape.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawTileCore.28Tile.2C_RectangleShape.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} GetDrawingCellsCore(RectangleShape) ** |
- | | tile | [[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.Tile --> | A Tile object that is created by the GetTile() method to draw. | | + | |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | A world extent for drawing the passed tile. | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | * //This method gets the cells for drawing in the passed world extent.// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== Finalize() ==== | + | * //When overriding this method, consider that the TileBuffer affects the passed world extent.// |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Finalize.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Finalize.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]> |
+ | * Description:A dictionary of cells for drawing in the passed world extent. | ||
- | <!-- System.Object(overriden) --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //targetExtent// |
- | ==== GetBoundingBoxCore() ==== | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | This method returns the bounding box of the Overlay. | + | * Description:A world extent for getting the drawing cells. |
- | === Remarks === | + | |
- | This method returns the bounding box of the Overlay. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | This method returns the bounding box of the Overlay. | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} GetTileMatrix(Double,Int32,Int32,GeographyUnit) ** |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== GetDrawingCells(RectangleShape) ==== | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetTileMatrix.28Double.2C_Int32.2C_Int32.2C_GeographyUnit.29// |
- | 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:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetDrawingCells.28RectangleShape.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetDrawingCells.28RectangleShape.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]><!-- System.Collections.Generic.Dictionary{System.String,ThinkGeo.MapSuite.Core.TileMatrixCell} --> | A dictionary of cells for drawing in the passed world extent. | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]] |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | A world extent for getting the drawing cells. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //scale// |
- | ==== GetDrawingCellsCore(RectangleShape) ==== | + | * Type:Double |
- | This method gets the cells for drawing in the passed world extent. | + | * Description:N/A |
- | === Remarks === | + | |
- | When overriding this method, consider that the TileBuffer affects the passed world extent. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]><!-- System.Collections.Generic.Dictionary{System.String,ThinkGeo.MapSuite.Core.TileMatrixCell} --> | A dictionary of cells for drawing in the passed world extent. | | + | |
- | === Parameters === | + | * //tileWidth// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Int32 |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | A world extent for getting the drawing cells. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | * //tileHeight// |
- | [[#Protected Methods|Go Back]] | + | * Type:Int32 |
- | ==== GetSortedCells(Dictionary<String, TileMatrixCell>, RectangleShape) ==== | + | * Description:N/A |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]><!-- System.Collections.Generic.Dictionary{System.String,ThinkGeo.MapSuite.Core.TileMatrixCell} --> | | | + | |
- | === Parameters === | + | * //boundingBoxUnit// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] |
- | | cells | Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]><!-- System.Collections.Generic.Dictionary{System.String,ThinkGeo.MapSuite.Core.TileMatrixCell} --> | | | + | * Description:N/A |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} DrawException(GeoCanvas,Exception) ** |
- | ==== GetSortedCellsCore(Dictionary<String, TileMatrixCell>, RectangleShape) ==== | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]><!-- System.Collections.Generic.Dictionary{System.String,ThinkGeo.MapSuite.Core.TileMatrixCell} --> | | | + | |
- | === Parameters === | + | * //This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | cells | Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]><!-- System.Collections.Generic.Dictionary{System.String,ThinkGeo.MapSuite.Core.TileMatrixCell} --> | | | + | * //This method can be overriden its logic by rewrite the DrawExceptionCore.// |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== GetTileCore() ==== | + | * Description:N/A |
- | Chooses a tile object to form the TileOverlay. When overriding this method, consider the initialize parameters setting on the tile. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetTileCore.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetTileCore.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.Tile --> | A tile object to form the TileOverlay. | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //canvas// |
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
+ | * Description:The target canvas to draw the layer. | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | * //e// |
- | [[#Protected Methods|Go Back]] | + | * Type:Exception |
- | ==== GetTileMatrix(Double, Int32, Int32, GeographyUnit) ==== | + | * Description:The exception thrown when layer.Draw(). |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetTileMatrix.28Double.2C_Int32.2C_Int32.2C_GeographyUnit.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetTileMatrix.28Double.2C_Int32.2C_Int32.2C_GeographyUnit.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.TileMatrix|TileMatrix]]<!-- ThinkGeo.MapSuite.Core.TileMatrix --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} DrawExceptionCore(GeoCanvas,Exception) ** |
- | | scale | Double<!-- System.Double --> | | | + | |
- | | tileWidth | Int32<!-- System.Int32 --> | | | + | |
- | | tileHeight | Int32<!-- System.Int32 --> | | | + | |
- | | boundingBoxUnit | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.Core.GeographyUnit --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | * //This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== InitializeCore(MapArguments) ==== | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawExceptionCore.28GeoCanvas.2C_Exception.29// |
- | This method initializes overlay object. | + | |
- | === Remarks === | + | |
- | When implementing this method, consider initializing the overlay canvas such as setting its z-index, setting current map reference to the CurrentMap property. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | mapArguments | [[ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments|MapArguments]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments --> | This parameter maintains current map information for calculating mechanism. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay(overriden) --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //canvas// |
- | ==== LoadStateCore(Byte[]) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | This method restore the overlay state back from the specified state. | + | * Description:The target canvas to draw the layer. |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //e// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Exception |
- | | state | Byte[]<!-- System.Byte[[]] --> | This parameter indicates the state for restore the overlay. | | + | * Description:The exception thrown when layer.Draw(). |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay(overriden) --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} OnDrawingException(DrawingExceptionTileOverlayEventArgs) ** |
- | ==== MemberwiseClone() ==== | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#MemberwiseClone.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#MemberwiseClone.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingException.28DrawingExceptionTileOverlayEventArgs.29// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== OnDrawTilesProgressChanged(DrawTilesProgressChangedTileOverlayEventArgs) ==== | + | * Description:N/A |
- | Occurs when Tiles' download progress is changed. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawTilesProgressChanged.28DrawTilesProgressChangedTileOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawTilesProgressChanged.28DrawTilesProgressChangedTileOverlayEventArgs.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //e// |
- | | args | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawTilesProgressChangedTileOverlayEventArgs|DrawTilesProgressChangedTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawTilesProgressChangedTileOverlayEventArgs --> | Event arguments for DownloadProgress event. | | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingExceptionTileOverlayEventArgs|DrawingExceptionTileOverlayEventArgs]] |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} OnDrawnException(DrawnExceptionTileOverlayEventArgs) ** |
- | ==== OnDrawing(DrawingOverlayEventArgs) ==== | + | |
- | This method raises before the overlay is drawing. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawing.28DrawingOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawing.28DrawingOverlayEventArgs.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | e | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingOverlayEventArgs|DrawingOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawingOverlayEventArgs --> | This parameter is the event argument for Drawing event. | | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnException.28DrawnExceptionTileOverlayEventArgs.29// |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== OnDrawingAttribution(DrawingAttributionOverlayEventArgs) ==== | + | * Description:N/A |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingAttribution.28DrawingAttributionOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingAttribution.28DrawingAttributionOverlayEventArgs.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //e// |
- | | args | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingAttributionOverlayEventArgs|DrawingAttributionOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawingAttributionOverlayEventArgs --> | | | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnExceptionTileOverlayEventArgs|DrawnExceptionTileOverlayEventArgs]] |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} OnStartingThread(StartingThreadTileOverlayEventArgs) ** |
- | ==== OnDrawingException(DrawingExceptionTileOverlayEventArgs) ==== | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingException.28DrawingExceptionTileOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingException.28DrawingExceptionTileOverlayEventArgs.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | e | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingExceptionTileOverlayEventArgs|DrawingExceptionTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawingExceptionTileOverlayEventArgs --> | | | + | * //N/A// |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== OnDrawingTile(DrawingTileTileOverlayEventArgs) ==== | + | * Description:N/A |
- | This method raises before a tile is drawing. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingTile.28DrawingTileTileOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingTile.28DrawingTileTileOverlayEventArgs.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //e// |
- | | args | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingTileTileOverlayEventArgs|DrawingTileTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawingTileTileOverlayEventArgs --> | This is an event argument for DrawingTile event. | | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.StartingThreadTileOverlayEventArgs|StartingThreadTileOverlayEventArgs]] |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} OnTileTypeChanged(TileTypeChangedTileOverlayEventArgs) ** |
- | ==== OnDrawn(DrawnOverlayEventArgs) ==== | + | |
- | This method raises after the overlay is drawn. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawn.28DrawnOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawn.28DrawnOverlayEventArgs.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | e | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnOverlayEventArgs|DrawnOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawnOverlayEventArgs --> | This parameter is the event argument for Drawn event. | | + | * //For the most updated Info for this topic, please check it here:// |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== OnDrawnAttribution(DrawnAttributionOverlayEventArgs) ==== | + | * Description:N/A |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnAttribution.28DrawnAttributionOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnAttribution.28DrawnAttributionOverlayEventArgs.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //e// |
- | | args | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnAttributionOverlayEventArgs|DrawnAttributionOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawnAttributionOverlayEventArgs --> | | | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.TileTypeChangedTileOverlayEventArgs|TileTypeChangedTileOverlayEventArgs]] |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} IhQ=(RectangleShape,Double) ** |
- | ==== OnDrawnException(DrawnExceptionTileOverlayEventArgs) ==== | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnException.28DrawnExceptionTileOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnException.28DrawnExceptionTileOverlayEventArgs.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | e | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnExceptionTileOverlayEventArgs|DrawnExceptionTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawnExceptionTileOverlayEventArgs --> | | | + | * //N/A// |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | ==== OnDrawnTile(DrawnTileTileOverlayEventArgs) ==== | + | * Description:N/A |
- | This method raises after a tile is drawn. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnTile.28DrawnTileTileOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnTile.28DrawnTileTileOverlayEventArgs.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //targetExtent// |
- | | args | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnTileTileOverlayEventArgs|DrawnTileTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawnTileTileOverlayEventArgs --> | This is an event argument for DrawnTile event. | | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | * //resolution// |
- | [[#Protected Methods|Go Back]] | + | * Type:Double |
- | ==== OnTileTypeChanged(TileTypeChangedTileOverlayEventArgs) ==== | + | * Description:N/A |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} IxQ=(RectangleShape,Double,Double,Int64,Int64,Int32) ** |
- | | e | [[ThinkGeo.MapSuite.WpfDesktopEdition.TileTypeChangedTileOverlayEventArgs|TileTypeChangedTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileTypeChangedTileOverlayEventArgs --> | | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== OpenCore() ==== | + | * //N/A// |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OpenCore.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OpenCore.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]] |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //targetExtent// |
- | ==== PanToCore(RectangleShape) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | This method pans the overlay to the provided world extent. | + | * Description:N/A |
- | === 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 === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //tileScreenWidth// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | targetExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | This parameter is the target world extent for panning. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //tileScreenHeight// |
- | [[#Protected Methods|Go Back]] | + | * Type:Double |
- | ==== PrefillDataToTiles(IEnumerable<Tile>) ==== | + | * Description:N/A |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //tileColumnIndex// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Int64 |
- | | tiles | IEnumerable<[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.WpfDesktopEdition.Tile} --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | * //tileRowIndex// |
- | [[#Protected Methods|Go Back]] | + | * Type:Int64 |
- | ==== PrefillDataToTilesCore(IEnumerable<Tile>) ==== | + | * Description:N/A |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //zoomLevelIndex// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Int32 |
- | | tiles | IEnumerable<[[ThinkGeo.MapSuite.WpfDesktopEdition.Tile|Tile]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.WpfDesktopEdition.Tile} --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} DrawStretchTiles(RectangleShape) ** |
- | ==== RefreshCore(RectangleShape) ==== | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#RefreshCore.28RectangleShape.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#RefreshCore.28RectangleShape.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | extent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawStretchTiles.28RectangleShape.29// |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== RefreshCore() ==== | + | * Description:N/A |
- | Refreshes tiles on the overlay. When calling this mehtod, all the tiles including map tiles and stretched tiles will be cleared. And reform with new tiles. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#RefreshCore.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#RefreshCore.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //targetExtent// |
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay(overriden) --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} GetSortedCells(Dictionary<String,TileMatrixCell>,RectangleShape) ** |
- | ==== SaveStateCore() ==== | + | |
- | This method saves overlay state to a byte array. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#SaveStateCore.28.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#SaveStateCore.28.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Byte[]<!-- System.Byte[[]] --> | A byte array indicates current overlay state. | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay(overriden) --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]> |
- | ===== Public Properties ===== | + | * Description:N/A |
- | ==== Attribution ==== | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawAttributionCore.28GeoCanvas.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawAttributionCore.28GeoCanvas.29</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | * //cells// |
- | ==== AutoRefreshInterval ==== | + | * Type:Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]> |
- | === Remarks === | + | * Description:N/A |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#AutoRefreshInterval" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#AutoRefreshInterval</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | TimeSpan<!-- System.TimeSpan --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //targetExtent// |
- | [[#Public Properties|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | ==== CanRefreshRegion ==== | + | * Description:N/A |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#CanRefreshRegion" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#CanRefreshRegion</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | <div newline></div> |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} GetSortedCellsCore(Dictionary<String,TileMatrixCell>,RectangleShape) ** |
- | ==== 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:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawingExceptionMode" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawingExceptionMode</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.DrawingExceptionMode|DrawingExceptionMode]]<!-- ThinkGeo.MapSuite.Core.DrawingExceptionMode --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //N/A// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== ImageFormat ==== | + | * //N/A// |
- | Gets and sets drawing format for the tiles. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#ImageFormat" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#ImageFormat</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]]<!-- ThinkGeo.MapSuite.Core.TileImageFormat --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]> |
- | ==== IsBase ==== | + | * Description:N/A |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#IsBase" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#IsBase</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | * //cells// |
- | ==== IsEmpty ==== | + | * Type:Dictionary<String,[[ThinkGeo.MapSuite.Core.TileMatrixCell|TileMatrixCell]]> |
- | This property gets if this overlay is empty or not. | + | * Description:N/A |
- | === 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 === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | * //targetExtent// |
- | [[#Public Properties|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | ==== IsVisible ==== | + | * Description:N/A |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#IsVisible" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#IsVisible</a> | + | <div newline></div> |
- | === Return Value === | + | ** {{wiki:ProtectedMethod.gif|}} 4BM=(IEnumerable<RectangleShape>) ** |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | * //N/A// |
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //extentsToRefresh// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#RefreshCore.28RectangleShape.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //extent// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#CloseCore.28.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#OpenCore.28.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{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 | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#DrawAttributionCore.28GeoCanvas.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //canvas// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#OnDrawingAttribution.28DrawingAttributionOverlayEventArgs.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //args// | ||
+ | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingAttributionOverlayEventArgs|DrawingAttributionOverlayEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#OnDrawnAttribution.28DrawnAttributionOverlayEventArgs.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //args// | ||
+ | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnAttributionOverlayEventArgs|DrawnAttributionOverlayEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} GetBoundingBoxCore() ** | ||
+ | |||
+ | * //This method returns the bounding box of the Overlay.// | ||
+ | == Remarks == | ||
+ | * //This method returns the bounding box of the Overlay.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:This method returns the bounding box of the Overlay. | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#Finalize.28.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{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 | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.TileOverlay#MemberwiseClone.28.29// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ** {{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.TileOverlay#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.TileOverlay#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.TileOverlay#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.TileOverlay#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.TileOverlay#TransitionEffect | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.TransitionEffect|TransitionEffect]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} TileCache ** | ||
+ | |||
+ | Gets and sets a tile cache object for saving the tiles. | ||
+ | == Remarks == | ||
+ | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileCache | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | ||
+ | |||
+ | ** {{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.TileOverlay#ImageFormat | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.TileImageFormat|TileImageFormat]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} JpegQuality ** | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay(overriden) --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== JpegQuality ==== | ||
Gets or sets the image quality when the TileImageFormat is Jpeg; otherwise this property has no effects. Its default value is 80. | Gets or sets the image quality when the TileImageFormat is Jpeg; otherwise this property has no effects. Its default value is 80. | ||
- | === Remarks === | + | == Remarks == |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#JpegQuality" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#JpegQuality</a> | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#JpegQuality |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:Int32 |
- | | Int32<!-- System.Int32 --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | ** {{wiki:PublicProperty.gif|}} TileBuffer ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== MapArguments ==== | + | 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. |
- | Gets or sets current map information which will be used for calculating mechanism. | + | == Remarks == |
- | === Remarks === | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileBuffer |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Initialize.28MapArguments.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Initialize.28MapArguments.29</a> | + | == Return Value == |
- | === Return Value === | + | * Type:Int32 |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments|MapArguments]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments --> | | + | ** {{wiki:PublicProperty.gif|}} MaxExtent ** |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== MaxExtent ==== | ||
This property gets or sets the max extent of matrix to calculate the tiles. | This property gets or sets the max extent of matrix to calculate the tiles. | ||
- | === Remarks === | + | == 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. | 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 === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.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.TileOverlay#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.TileOverlay#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.TileOverlay#AutoRefreshInterval | ||
+ | == Return Value == | ||
+ | * Type:TimeSpan | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} Name ** | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== Name ==== | ||
Gets or sets the name of this overaly. | Gets or sets the name of this overaly. | ||
- | === Remarks === | + | == Remarks == |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Name" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Name</a> | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#Name |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:String |
- | | String<!-- System.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.TileOverlay#Initialize.28MapArguments.29 | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments|MapArguments]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} OverlayCanvas ** | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== OverlayCanvas ==== | ||
Gets or sets the actual canvas which maintains all the visual elements on the overlay. | Gets or sets the actual canvas which maintains all the visual elements on the overlay. | ||
- | === Remarks === | + | == Remarks == |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OverlayCanvas" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OverlayCanvas</a> | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OverlayCanvas |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:Canvas |
- | | Canvas<!-- System.Windows.Controls.Canvas --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | ** {{wiki:PublicProperty.gif|}} IsBase ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== 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:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileBuffer" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileBuffer</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Int32<!-- System.Int32 --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | N/A |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== TileCache ==== | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#IsBase |
- | Gets and sets a tile cache object for saving the tiles. | + | == Return Value == |
- | === Remarks === | + | * Type:Boolean |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileCache" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileCache</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]]<!-- ThinkGeo.MapSuite.Core.BitmapTileCache --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | ** {{wiki:PublicProperty.gif|}} CanRefreshRegion ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== TileHeight ==== | + | |
- | Gets and sets the height of the tile. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileHeight" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileHeight</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Int32<!-- System.Int32 --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | N/A |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== TileType ==== | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#CanRefreshRegion |
- | Gets and sets the overlay is formed by multiple tiles or single tile. | + | == Return Value == |
- | === Remarks === | + | * Type:Boolean |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileType" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileType</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.TileType|TileType]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileType --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | ** {{wiki:PublicProperty.gif|}} DrawingExceptionMode ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== TileWidth ==== | + | |
- | Gets and sets the width of the tile. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileWidth" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TileWidth</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Int32<!-- System.Int32 --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing. |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== TransitionEffect ==== | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawingExceptionMode |
- | 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. | + | == Return Value == |
- | === Remarks === | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingExceptionMode|DrawingExceptionMode]] |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TransitionEffect" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#TransitionEffect</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.TransitionEffect|TransitionEffect]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.TransitionEffect --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | ** {{wiki:PublicProperty.gif|}} Attribution ** |
- | [[#Public Properties|Go Back]] | + | |
- | ==== WrappingExtent ==== | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#WrappingExtent" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#WrappingExtent</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | N/A |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== WrappingMode ==== | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawAttributionCore.28GeoCanvas.29 |
- | Thie property gets or sets whether allow wrap date line. | + | == Return Value == |
- | === Remarks === | + | * Type:String |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#WrappingMode" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#WrappingMode</a> | + | |
- | === Return Value === | + | ** {{wiki:PublicProperty.gif|}} IsEmpty ** |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.WrappingMode|WrappingMode]]<!-- ThinkGeo.MapSuite.Core.WrappingMode --> | | + | 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 ** | ||
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ===== Protected Properties ===== | ||
- | ==== DrawingCanvas ==== | ||
Gets current drawing canvas which holds actual tile controls. | Gets current drawing canvas which holds actual tile controls. | ||
- | === Remarks === | + | == Remarks == |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawingCanvas" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawingCanvas</a> | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#DrawingCanvas |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:Canvas |
- | | Canvas<!-- System.Windows.Controls.Canvas --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | ** {{wiki:ProtectedProperty.gif|}} StretchCanvas ** |
- | [[#Protected Properties|Go Back]] | + | |
- | ==== IsOverlayInitialized ==== | + | Gets current stretch canvas which holds stretched tile controls during the stretch transition. |
- | Gets or sets if the overlay canvas is initialized. | + | == Remarks == |
- | === Remarks === | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#StretchCanvas |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#IsOverlayInitialized" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#IsOverlayInitialized</a> | + | == Return Value == |
- | === Return Value === | + | * Type:Canvas |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | ** {{wiki:ProtectedProperty.gif|}} PreviousExtent ** |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | ||
- | [[#Protected Properties|Go Back]] | ||
- | ==== PreviousExtent ==== | ||
Gets or sets the previous exent of the overlay. | Gets or sets the previous exent of the overlay. | ||
- | === Remarks === | + | == Remarks == |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#PreviousExtent" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#PreviousExtent</a> | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#PreviousExtent |
- | === Return Value === | + | == Return Value == |
- | ^ Return Type ^ | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | ** {{wiki:ProtectedProperty.gif|}} 3BM= ** |
- | [[#Protected Properties|Go Back]] | + | |
- | ==== 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:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#StretchCanvas" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#StretchCanvas</a> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Canvas<!-- System.Windows.Controls.Canvas --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | N/A |
- | [[#Protected Properties|Go Back]] | + | == Remarks == |
- | ===== Public Events ===== | + | N/A |
- | ==== DrawTilesProgressChanged ==== | + | == Return Value == |
- | This event raises when download progress is changed. | + | * Type:Double |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawTilesProgressChanged.28DrawTilesProgressChangedTileOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawTilesProgressChanged.28DrawTilesProgressChangedTileOverlayEventArgs.29</a> | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawTilesProgressChangedTileOverlayEventArgs|DrawTilesProgressChangedTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawTilesProgressChangedTileOverlayEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | ** {{wiki:ProtectedProperty.gif|}} IsOverlayInitialized ** |
- | [[#Public Events|Go Back]] | + | |
- | ==== Drawing ==== | + | |
- | This event raises before the overlay is drawing. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetDrawingCells.28RectangleShape.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#GetDrawingCells.28RectangleShape.29</a> | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingOverlayEventArgs|DrawingOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawingOverlayEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | Gets or sets if the overlay canvas is initialized. |
- | [[#Public Events|Go Back]] | + | == Remarks == |
- | ==== DrawingAttribution ==== | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#IsOverlayInitialized |
- | === Remarks === | + | == Return Value == |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingAttribution.28DrawingAttributionOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingAttribution.28DrawingAttributionOverlayEventArgs.29</a> | + | * Type:Boolean |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingAttributionOverlayEventArgs|DrawingAttributionOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawingAttributionOverlayEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | ==== Public Events ==== |
- | [[#Public Events|Go Back]] | + | ** {{wiki:PublicEvent.gif|}} DrawTilesProgressChanged ** |
- | ==== DrawingException ==== | + | This event raises when download progress is changed. |
- | === Remarks === | + | == Remarks == |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingException.28DrawingExceptionTileOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingException.28DrawingExceptionTileOverlayEventArgs.29</a> | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawTilesProgressChanged.28DrawTilesProgressChangedTileOverlayEventArgs.29 |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawTilesProgressChangedTileOverlayEventArgs|DrawTilesProgressChangedTileOverlayEventArgs]] |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingExceptionTileOverlayEventArgs|DrawingExceptionTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawingExceptionTileOverlayEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | ** {{wiki:PublicEvent.gif|}} DrawingTile ** |
- | [[#Public Events|Go Back]] | + | |
- | ==== DrawingTile ==== | + | |
This event raises before the tile is drawing. | This event raises before the tile is drawing. | ||
- | === Remarks === | + | == Remarks == |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingTile.28DrawingTileTileOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingTile.28DrawingTileTileOverlayEventArgs.29</a> | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingTile.28DrawingTileTileOverlayEventArgs.29 |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingTileTileOverlayEventArgs|DrawingTileTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawingTileTileOverlayEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingTileTileOverlayEventArgs|DrawingTileTileOverlayEventArgs]] |
- | [[#Public Events|Go Back]] | + | |
- | ==== Drawn ==== | + | ** {{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.TileOverlay#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.TileOverlay#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.TileOverlay#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.TileOverlay#GetDrawingCells.28RectangleShape.29 | ||
+ | |||
+ | Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingOverlayEventArgs|DrawingOverlayEventArgs]] | ||
+ | |||
+ | ** {{wiki:PublicEvent.gif|}} Drawn ** | ||
This event raises after the overlay is drawn. | This event raises after the overlay is drawn. | ||
- | === Remarks === | + | == Remarks == |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawn.28DrawnOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawn.28DrawnOverlayEventArgs.29</a> | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawn.28DrawnOverlayEventArgs.29 |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnOverlayEventArgs|DrawnOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawnOverlayEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnOverlayEventArgs|DrawnOverlayEventArgs]] |
- | [[#Public Events|Go Back]] | + | |
- | ==== DrawnAttribution ==== | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnAttribution.28DrawnAttributionOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnAttribution.28DrawnAttributionOverlayEventArgs.29</a> | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnAttributionOverlayEventArgs|DrawnAttributionOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawnAttributionOverlayEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.Overlay --> | + | ** {{wiki:PublicEvent.gif|}} DrawingAttribution ** |
- | [[#Public Events|Go Back]] | + | N/A |
- | ==== DrawnException ==== | + | == Remarks == |
- | === Remarks === | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawingAttribution.28DrawingAttributionOverlayEventArgs.29 |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnException.28DrawnExceptionTileOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnException.28DrawnExceptionTileOverlayEventArgs.29</a> | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnExceptionTileOverlayEventArgs|DrawnExceptionTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawnExceptionTileOverlayEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawingAttributionOverlayEventArgs|DrawingAttributionOverlayEventArgs]] |
- | [[#Public Events|Go Back]] | + | |
- | ==== DrawnTile ==== | + | |
- | This event raises after the tile is drawn. | + | |
- | === Remarks === | + | |
- | For the most updated Info for this topic, please check it here:<a href="http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnTile.28DrawnTileTileOverlayEventArgs.29" target="_blank">http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnTile.28DrawnTileTileOverlayEventArgs.29</a> | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnTileTileOverlayEventArgs|DrawnTileTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.DrawnTileTileOverlayEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | ** {{wiki:PublicEvent.gif|}} DrawnAttribution ** |
- | [[#Public Events|Go Back]] | + | N/A |
- | ==== TileTypeChanged ==== | + | == Remarks == |
- | === Remarks === | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay#OnDrawnAttribution.28DrawnAttributionOverlayEventArgs.29 |
- | For the most updated Info for this topic, please check it here:<a href="" target="_blank"></a> | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.WpfDesktopEdition.TileTypeChangedTileOverlayEventArgs|TileTypeChangedTileOverlayEventArgs]]<!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileTypeChangedTileOverlayEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay --> | + | Event Arguments:[[ThinkGeo.MapSuite.WpfDesktopEdition.DrawnAttributionOverlayEventArgs|DrawnAttributionOverlayEventArgs]] |
- | [[#Public Events|Go Back]] | + | |
- | __NOTOC__ | ||
- | [[Category:WpfDesktopEdition]] | ||
- | [[Category:ThinkGeo.MapSuite.WpfDesktopEdition]] | ||
- | [[Category:UpdateDocumentation]] | ||