This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
thinkgeo.mapsuite.androidedition.overlay [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.androidedition.overlay [2017/03/16 21:59] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ThinkGeo.MapSuite.AndroidEdition.Overlay ====== | ====== ThinkGeo.MapSuite.AndroidEdition.Overlay ====== | ||
| + | {{section>upgrade_map_suite_to_10.0}} | ||
| - | |||
| - | <!-- Class --> | ||
| This class is the base class of all overlays in this overlay system. | This class is the base class of all overlays in this overlay system. | ||
| - | === Remarks === | ||
| - | The <strong>Overlay</strong> has the similar concept as the layer. Different types of overlays stack over each other to form a map. An overlay object is responsible for getting the configuration infomation from the user. | ||
| - | |||
| - | Usually an overlay represents an image with transparent background that is laid upon other overlay such as <strong>LayerOverlay</strong>, <strong>WmsOverlay</strong>. While the <strong>MarkerOverlay</strong> will not be rendered as an image, it is actually represents a control that holds bunch of marker images on the map. | ||
| ===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | + | *System.Object |
| - | **[[ThinkGeo.MapSuite.AndroidEdition.Overlay]] | + | ***ThinkGeo.MapSuite.AndroidEdition.Overlay** |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.AdornmentOverlay]] | + | *[[ThinkGeo.MapSuite.AndroidEdition.AdornmentOverlay]] |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.BingMapsTileOverlay]] | + | *[[ThinkGeo.MapSuite.AndroidEdition.TileOverlay]] |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.EditInteractiveOverlay]] | + | *[[ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay]] |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.ExtentInteractiveOverlay]] | + | *[[ThinkGeo.MapSuite.AndroidEdition.MarkerOverlay]] |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.GoogleMapsTileOverlay]] | + | *[[ThinkGeo.MapSuite.AndroidEdition.PopupOverlay]] |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.InteractiveOverlay]] | + | |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.LayerOverlay]] | + | |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.MarkerOverlay]] | + | |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.OpenStreetMapOverlay]] | + | |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.OpenStreetMapTileOverlay]] | + | |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.PopupOverlay]] | + | |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.TileOverlay]] | + | |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.TrackInteractiveOverlay]] | + | |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.WmsOverlay]] | + | |
| - | ***[[ThinkGeo.MapSuite.AndroidEdition.WorldMapKitOverlay]] | + | |
| ===== Members Summary ===== | ===== Members Summary ===== | ||
| ==== Public Constructors ==== | ==== Public Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | |||
| ==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:ProtectedMethod.gif|}} Overlay() ** |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Overlay()|Overlay]] | | | | | + | |
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | == 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]] | | | This method will simulate the Close interaction. | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Dispose()|Dispose]] | | | This method dispose unmanaged resource used in this class. | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Draw(MapArguments, OverlayRefreshType)|Draw]] | [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]], [[ThinkGeo.MapSuite.AndroidEdition.OverlayRefreshType|OverlayRefreshType]] | | 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]] | | | 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.AndroidEdition.MapArguments|MapArguments]] | | This method initializes overlay object. | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Open()|Open]] | | | This method will simulate the Open interaction. | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#PostTransform(TransformArguments, MapArguments)|PostTransform]] | [[ThinkGeo.MapSuite.AndroidEdition.TransformArguments|TransformArguments]], [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]] | | This method will simulate the PostTransform interaction. | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Refresh()|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. | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
| + | * //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:PublicMethod.gif|}} Refresh(TimeSpan) ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == 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 == | ||
| + | * //N/A// | ||
| + | |||
| + | == 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(TimeSpan,BufferTimeType) ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Void | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | * //bufferTime// | ||
| + | * Type:TimeSpan | ||
| + | * Description:N/A | ||
| + | |||
| + | * //bufferTimeType// | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.BufferTimeType|BufferTimeType]] | ||
| + | * Description:N/A | ||
| + | |||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}} Refresh(RectangleShape,TimeSpan) ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == 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 == | ||
| + | * //N/A// | ||
| + | |||
| + | == 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(RectangleShape,TimeSpan,BufferTimeType) ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == 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.BufferTimeType|BufferTimeType]] | ||
| + | * Description:N/A | ||
| + | |||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}} Refresh(IEnumerable<RectangleShape>,TimeSpan) ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == 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 == | ||
| + | * //N/A// | ||
| + | |||
| + | == 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|}} Refresh(IEnumerable<RectangleShape>,TimeSpan,BufferTimeType) ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == 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.BufferTimeType|BufferTimeType]] | ||
| + | * Description:N/A | ||
| + | |||
| + | <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|}} 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.AndroidEdition.MapArguments|MapArguments]] | ||
| + | * Description:This parameter maintains current map information for calculating mechanism. | ||
| + | |||
| + | <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|}} Refresh(RectangleShape) ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Void | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | * //extent// | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
| + | * Description:N/A | ||
| + | |||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}} Draw(MapArguments,OverlayRefreshType) ** | ||
| + | |||
| + | * //This method draws the overlay with the provided extent in world coordinate.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Void | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | * //mapArguments// | ||
| + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]] | ||
| + | * Description:This parameter maintains current map information for calculating mechanism. | ||
| + | |||
| + | * //refreshType// | ||
| + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.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|}} PostTransform(TransformArguments,MapArguments) ** | ||
| + | |||
| + | * //This method will simulate the PostTransform interaction.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Void | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | * //transformInfo// | ||
| + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.TransformArguments|TransformArguments]] | ||
| + | * Description:This parameter maintains the transfrom information for calculating transform. | ||
| + | |||
| + | * //mapArguments// | ||
| + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]] | ||
| + | * Description:This parameter maintains current map information for calculating mechanism. | ||
| + | |||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}} Close() ** | ||
| + | |||
| + | * //This method will simulate the Close interaction.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Void | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}} Open() ** | ||
| + | |||
| + | * //This method will simulate the Open interaction.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Void | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}} Dispose() ** | ||
| + | |||
| + | * //This method dispose unmanaged resource used in this class.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Void | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:String | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Boolean | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | * //obj// | ||
| + | * Type:Object | ||
| + | * Description:N/A | ||
| + | |||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Int32 | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Type | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| ==== Protected Methods ==== | ==== Protected Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:ProtectedMethod.gif|}} GetBoundingBoxCore() ** |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#CloseCore()|CloseCore]] | | | This protected virtual method is the Core method of Close API. | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Dispose(Boolean)|Dispose]] | Boolean | | Releases unmanaged and - optionally - managed resources. | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawCore(MapArguments, OverlayRefreshType)|DrawCore]] | [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]], [[ThinkGeo.MapSuite.AndroidEdition.OverlayRefreshType|OverlayRefreshType]] | | This method draws the overlay with the provided extent in world coordinate. | | + | |
| - | | {{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}}[[#Finalize()|Finalize]] | | Object(overriden) | | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetBoundingBoxCore()|GetBoundingBoxCore]] | | | This method returns the bounding box of the Overlay. | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#InitializeCore(MapArguments)|InitializeCore]] | [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]] | | This method initializes overlay object. | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawingException(DrawingExceptionOverlayEventArgs)|OnDrawingException]] | [[ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs|DrawingExceptionOverlayEventArgs]] | | This method raises before the overlay is drawing exception. | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawnException(DrawnExceptionOverlayEventArgs)|OnDrawnException]] | [[ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs|DrawnExceptionOverlayEventArgs]] | | This method raises after the overlay is drawn exception. | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OpenCore()|OpenCore]] | | | This protected virtual method is the Core method of Open API. | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#PostTransformCore(TransformArguments, MapArguments)|PostTransformCore]] | [[ThinkGeo.MapSuite.AndroidEdition.TransformArguments|TransformArguments]], [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]] | | This protected virtual method is the Core method of PostTransform API. | | + | |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#RefreshCore()|RefreshCore]] | | | 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. | | + | |
| - | ==== Public Properties ==== | + | * //This method returns the bounding box of the Overlay.// |
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | == Remarks == |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Attribution|Attribution]] | String | | Gets or sets the attribution for this overlay. | | + | * //This method returns the bounding box of the Overlay.// |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#DrawingExceptionMode|DrawingExceptionMode]] | [[ThinkGeo.MapSuite.Core.DrawingExceptionMode|DrawingExceptionMode]] | | This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing. | | + | |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#DrawingQuality|DrawingQuality]] | [[ThinkGeo.MapSuite.Core.DrawingQuality|DrawingQuality]] | | Gets or sets the drawingQuality for this overlay. | | + | |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#IsEmpty|IsEmpty]] | Boolean | | This property gets if this overlay is empty or not. | | + | |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#IsVisible|IsVisible]] | Boolean | | Gets or sets if this overlay is visible. | | + | |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#MapArguments|MapArguments]] | [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]] | | Gets or sets the mapArguments for this overlay. | | + | |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Name|Name]] | String | | Gets or sets the name of this overaly. | | + | |
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Opacity|Opacity]] | Double | | Gets or sets the opacity for this overlay. | | + | |
| - | ==== Protected Properties ==== | + | == Return Value == |
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
| + | * Description:This method returns the bounding box of the Overlay. | ||
| - | ==== Public Events ==== | + | == Parameters == |
| - | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | <div newline></div> |
| - | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawingException|DrawingException]] | [[ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs|DrawingExceptionOverlayEventArgs]] | | Occurs before exception is drawing on map. | | + | ** {{wiki:ProtectedMethod.gif|}} RefreshCore() ** |
| - | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawnException|DrawnException]] | [[ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs|DrawnExceptionOverlayEventArgs]] | | Occurs after exception is drawn on map. | | + | |
| - | ===== Public Constructors ===== | + | * //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.// |
| - | ===== Protected Constructors ===== | + | == Remarks == |
| - | ==== Overlay() ==== | + | * //The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not.// |
| - | === Parameters === | + | |
| - | ^ Name ^ Type ^ Description ^ | + | |
| - | [[#Protected Constructors|Go Back]] | + | == Return Value == |
| - | ===== Public Methods ===== | + | * Type:Void |
| - | ==== Close() ==== | + | * Description:N/A |
| - | This method will simulate the Close interaction. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
| + | ** {{wiki:ProtectedMethod.gif|}} RefreshCore(RectangleShape) ** | ||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | * //N/A// |
| - | [[#Public Methods|Go Back]] | + | == Remarks == |
| - | ==== Dispose() ==== | + | * //N/A// |
| - | This method dispose unmanaged resource used in this class. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
| + | * Description:N/A | ||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | == Parameters == |
| - | [[#Public Methods|Go Back]] | + | * //extent// |
| - | ==== Draw(MapArguments, OverlayRefreshType) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
| - | This method draws the overlay with the provided extent in world coordinate. | + | * Description:N/A |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | <div newline></div> |
| - | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} DrawCore(MapArguments,OverlayRefreshType) ** |
| - | | mapArguments | [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]]<!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | This parameter maintains current map information for calculating mechanism. | | + | |
| - | | refreshType | [[ThinkGeo.MapSuite.AndroidEdition.OverlayRefreshType|OverlayRefreshType]]<!-- ThinkGeo.MapSuite.AndroidEdition.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.AndroidEdition.Overlay --> | + | * //This method draws the overlay with the provided extent in world coordinate.// |
| - | [[#Public Methods|Go Back]] | + | == Remarks == |
| - | ==== Equals(Object) ==== | + | * //N/A// |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Boolean<!-- System.Boolean --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
| - | | obj | Object<!-- System.Object --> | | | + | * Description:N/A |
| - | <!-- System.Object --> | + | == Parameters == |
| - | [[#Public Methods|Go Back]] | + | * //mapArguments// |
| - | ==== GetBoundingBox() ==== | + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]] |
| - | This method gets a bounding box of the Overlay. | + | * Description:This parameter maintains current map information for calculating mechanism. |
| - | === 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. | + | * //refreshType// |
| - | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.OverlayRefreshType|OverlayRefreshType]] |
| - | ^ Return Type ^ Description ^ | + | * 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. |
| - | | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | A RectangleShape indicating the bounding box of this overlay. | | + | |
| - | === Parameters === | + | <div newline></div> |
| - | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} PostTransformCore(TransformArguments,MapArguments) ** |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | * //This protected virtual method is the Core method of PostTransform API.// |
| - | [[#Public Methods|Go Back]] | + | == Remarks == |
| - | ==== GetHashCode() ==== | + | * //N/A// |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Int32<!-- System.Int32 --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
| + | * Description:N/A | ||
| - | <!-- System.Object --> | + | == Parameters == |
| - | [[#Public Methods|Go Back]] | + | * //transformInfo// |
| - | ==== GetType() ==== | + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.TransformArguments|TransformArguments]] |
| - | === Return Value === | + | * Description:This parameter maintains the transfrom information for calculating transform. |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Type<!-- System.Type --> | | | + | |
| - | === Parameters === | + | * //mapArguments// |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]] |
| + | * Description:This parameter maintains current map information for calculating mechanism. | ||
| - | <!-- System.Object --> | + | <div newline></div> |
| - | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} CloseCore() ** |
| - | ==== 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 === | + | * //This protected virtual method is the Core method of Close API.// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| - | | mapArguments | [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]]<!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | This parameter maintains current map information for calculating mechanism. | | + | * //N/A// |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | == Return Value == |
| - | [[#Public Methods|Go Back]] | + | * Type:Void |
| - | ==== Open() ==== | + | * Description:N/A |
| - | This method will simulate the Open interaction. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
| + | ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | * //This protected virtual method is the Core method of Open API.// |
| - | [[#Public Methods|Go Back]] | + | == Remarks == |
| - | ==== PostTransform(TransformArguments, MapArguments) ==== | + | * //N/A// |
| - | This method will simulate the PostTransform interaction. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
| - | | transformInfo | [[ThinkGeo.MapSuite.AndroidEdition.TransformArguments|TransformArguments]]<!-- ThinkGeo.MapSuite.AndroidEdition.TransformArguments --> | This parameter maintains the transfrom information for calculating transform. | | + | * Description:N/A |
| - | | mapArguments | [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]]<!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | This parameter maintains current map information for calculating mechanism. | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | == Parameters == |
| - | [[#Public Methods|Go Back]] | + | <div newline></div> |
| - | ==== Refresh() ==== | + | ** {{wiki:ProtectedMethod.gif|}} InitializeCore(MapArguments) ** |
| - | 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 === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | * //This method initializes overlay object.// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| + | * //When implementing this method, consider initializing the overlay canvas such as setting its z-index, setting current map reference to the CurrentMap property.// | ||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | == Return Value == |
| - | [[#Public Methods|Go Back]] | + | * Type:Void |
| - | ==== ToString() ==== | + | * Description:N/A |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | String<!-- System.String --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | * //mapArgument// |
| + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]] | ||
| + | * Description:N/A | ||
| - | <!-- System.Object --> | + | <div newline></div> |
| - | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} DrawException(GeoCanvas,Exception) ** |
| - | ===== Protected Methods ===== | + | |
| - | ==== CloseCore() ==== | + | |
| - | This protected virtual method is the Core method of Close API. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === 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 == |
| + | * //This method can be overriden its logic by rewrite the DrawExceptionCore.// | ||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | == Return Value == |
| - | [[#Protected Methods|Go Back]] | + | * Type:Void |
| - | ==== Dispose(Boolean) ==== | + | * Description:N/A |
| - | Releases unmanaged and - optionally - managed resources. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | * //geoCanvas// |
| - | | isDisposing | Boolean<!-- System.Boolean --> | true to release both managed and unmanaged resources; false to release only unmanaged resources. | | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
| + | * Description:N/A | ||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | * //exception// |
| - | [[#Protected Methods|Go Back]] | + | * Type:Exception |
| - | ==== DrawCore(MapArguments, OverlayRefreshType) ==== | + | * Description:N/A |
| - | This method draws the overlay with the provided extent in world coordinate. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | <div newline></div> |
| - | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} DrawExceptionCore(GeoCanvas,Exception) ** |
| - | | mapArguments | [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]]<!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | This parameter maintains current map information for calculating mechanism. | | + | |
| - | | refreshType | [[ThinkGeo.MapSuite.AndroidEdition.OverlayRefreshType|OverlayRefreshType]]<!-- ThinkGeo.MapSuite.AndroidEdition.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.AndroidEdition.Overlay --> | + | * //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 == |
| - | ==== DrawException(GeoCanvas, Exception) ==== | + | * //N/A// |
| - | This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException. | + | |
| - | === Remarks === | + | |
| - | This method can be overriden its logic by rewrite the DrawExceptionCore. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
| - | | geoCanvas | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | | | + | * Description:N/A |
| - | | exception | Exception<!-- System.Exception --> | | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | == Parameters == |
| - | [[#Protected Methods|Go Back]] | + | * //geoCanvas// |
| - | ==== DrawExceptionCore(GeoCanvas, Exception) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
| - | 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 |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | * //ex// |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Exception |
| - | | geoCanvas | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.Core.GeoCanvas --> | | | + | * Description:N/A |
| - | | ex | Exception<!-- System.Exception --> | | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | <div newline></div> |
| - | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} OnDrawingException(DrawingExceptionOverlayEventArgs) ** |
| - | ==== Finalize() ==== | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | * //This method raises before the overlay is drawing exception.// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| + | * //N/A// | ||
| - | <!-- System.Object(overriden) --> | + | == Return Value == |
| - | [[#Protected Methods|Go Back]] | + | * Type:Void |
| - | ==== GetBoundingBoxCore() ==== | + | * Description:N/A |
| - | This method returns the bounding box of the Overlay. | + | |
| - | === 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 === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | * //args// |
| + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs|DrawingExceptionOverlayEventArgs]] | ||
| + | * Description:This parameter is the event argument for DrawingException event. | ||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | <div newline></div> |
| - | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} OnDrawnException(DrawnExceptionOverlayEventArgs) ** |
| - | ==== InitializeCore(MapArguments) ==== | + | |
| - | 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 === | + | * //This method raises after the overlay is drawn exception.// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| - | | mapArgument | [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]]<!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | | | + | * //N/A// |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | == Return Value == |
| - | [[#Protected Methods|Go Back]] | + | * Type:Void |
| - | ==== MemberwiseClone() ==== | + | * Description:N/A |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Object<!-- System.Object --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | * //args// |
| + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs|DrawnExceptionOverlayEventArgs]] | ||
| + | * Description:This parameter is the event argument for DrawingException event. | ||
| - | <!-- System.Object --> | + | <div newline></div> |
| - | [[#Protected Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** |
| - | ==== OnDrawingException(DrawingExceptionOverlayEventArgs) ==== | + | |
| - | This method raises before the overlay is drawing exception. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | * //N/A// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| - | | args | [[ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs|DrawingExceptionOverlayEventArgs]]<!-- ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs --> | This parameter is the event argument for DrawingException event. | | + | * //N/A// |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | == Return Value == |
| - | [[#Protected Methods|Go Back]] | + | * Type:Void |
| - | ==== OnDrawnException(DrawnExceptionOverlayEventArgs) ==== | + | * Description:N/A |
| - | This method raises after the overlay is drawn exception. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
| - | | args | [[ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs|DrawnExceptionOverlayEventArgs]]<!-- ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs --> | This parameter is the event argument for DrawingException event. | | + | ** {{wiki:ProtectedMethod.gif|}} Dispose(Boolean) ** |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | * //Releases unmanaged and - optionally - managed resources.// |
| - | [[#Protected Methods|Go Back]] | + | == Remarks == |
| - | ==== OpenCore() ==== | + | * //N/A// |
| - | This protected virtual method is the Core method of Open API. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
| + | * Description:N/A | ||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | == Parameters == |
| - | [[#Protected Methods|Go Back]] | + | * //disposing// |
| - | ==== PostTransformCore(TransformArguments, MapArguments) ==== | + | * Type:Boolean |
| - | This protected virtual method is the Core method of PostTransform API. | + | * Description:true to release both managed and unmanaged resources; false to release only unmanaged resources. |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | <div newline></div> |
| - | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** |
| - | | transformInfo | [[ThinkGeo.MapSuite.AndroidEdition.TransformArguments|TransformArguments]]<!-- ThinkGeo.MapSuite.AndroidEdition.TransformArguments --> | This parameter maintains the transfrom information for calculating transform. | | + | |
| - | | mapArguments | [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]]<!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | This parameter maintains current map information for calculating mechanism. | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | * //N/A// |
| - | [[#Protected Methods|Go Back]] | + | == Remarks == |
| - | ==== RefreshCore() ==== | + | * //N/A// |
| - | 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 === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Object |
| + | * Description:N/A | ||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | == Parameters == |
| - | [[#Protected Methods|Go Back]] | + | <div newline></div> |
| - | ===== Public Properties ===== | + | ==== Public Properties ==== |
| - | ==== Attribution ==== | + | ** {{wiki:PublicProperty.gif|}} AutoRefreshInterval ** |
| - | Gets or sets the attribution for this overlay. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ | + | |
| - | | String<!-- System.String --> | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | * //N/A// |
| - | [[#Public Properties|Go Back]] | + | == Remarks == |
| - | ==== DrawingExceptionMode ==== | + | * //N/A// |
| - | This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing. | + | == Return Value == |
| - | === Return Value === | + | * Type:TimeSpan |
| - | ^ Return Type ^ | + | |
| - | | [[ThinkGeo.MapSuite.Core.DrawingExceptionMode|DrawingExceptionMode]]<!-- ThinkGeo.MapSuite.Core.DrawingExceptionMode --> | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | ** {{wiki:PublicProperty.gif|}} Name ** |
| - | [[#Public Properties|Go Back]] | + | |
| - | ==== DrawingQuality ==== | + | |
| - | Gets or sets the drawingQuality for this overlay. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ | + | |
| - | | [[ThinkGeo.MapSuite.Core.DrawingQuality|DrawingQuality]]<!-- ThinkGeo.MapSuite.Core.DrawingQuality --> | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | * //Gets or sets the name of this overaly.// |
| - | [[#Public Properties|Go Back]] | + | == Remarks == |
| - | ==== IsEmpty ==== | + | * //N/A// |
| - | This property gets if this overlay is empty or not. | + | == Return Value == |
| - | === Remarks === | + | * Type:String |
| - | 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.AndroidEdition.Overlay --> | + | ** {{wiki:PublicProperty.gif|}} DrawingExceptionMode ** |
| - | [[#Public Properties|Go Back]] | + | |
| - | ==== IsVisible ==== | + | |
| - | Gets or sets if this overlay is visible. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ | + | |
| - | | Boolean<!-- System.Boolean --> | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | * //This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing.// |
| - | [[#Public Properties|Go Back]] | + | == Remarks == |
| - | ==== MapArguments ==== | + | * //N/A// |
| - | Gets or sets the mapArguments for this overlay. | + | == Return Value == |
| - | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingExceptionMode|DrawingExceptionMode]] |
| - | ^ Return Type ^ | + | |
| - | | [[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]]<!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | ** {{wiki:PublicProperty.gif|}} IsEmpty ** |
| - | [[#Public Properties|Go Back]] | + | |
| - | ==== Name ==== | + | |
| - | Gets or sets the name of this overaly. | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ | + | |
| - | | String<!-- System.String --> | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | * //This property gets if this overlay is empty or not.// |
| - | [[#Public Properties|Go Back]] | + | == Remarks == |
| - | ==== Opacity ==== | + | * //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.// |
| - | Gets or sets the opacity for this overlay. | + | == Return Value == |
| - | === Return Value === | + | * Type:Boolean |
| - | ^ Return Type ^ | + | |
| - | | Double<!-- System.Double --> | | + | ** {{wiki:PublicProperty.gif|}} IsVisible ** |
| + | |||
| + | * //Gets or sets if this overlay is visible.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | == Return Value == | ||
| + | * Type:Boolean | ||
| + | |||
| + | ** {{wiki:PublicProperty.gif|}} Attribution ** | ||
| + | |||
| + | * //Gets or sets the attribution for this overlay.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | == Return Value == | ||
| + | * Type:String | ||
| + | |||
| + | ** {{wiki:PublicProperty.gif|}} OverlayView ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | == Return Value == | ||
| + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.MapLayout|MapLayout]] | ||
| + | |||
| + | ** {{wiki:PublicProperty.gif|}} DrawingQuality ** | ||
| + | |||
| + | * //Gets or sets the drawingQuality for this overlay.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | == Return Value == | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.DrawingQuality|DrawingQuality]] | ||
| + | |||
| + | ** {{wiki:PublicProperty.gif|}} Opacity ** | ||
| + | |||
| + | * //Gets or sets the opacity for this overlay.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | == Return Value == | ||
| + | * Type:Double | ||
| + | |||
| + | ** {{wiki:PublicProperty.gif|}} MapArguments ** | ||
| + | |||
| + | * //Gets or sets the mapArguments for this overlay.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | == Return Value == | ||
| + | * Type:[[ThinkGeo.MapSuite.AndroidEdition.MapArguments|MapArguments]] | ||
| + | |||
| + | ** {{wiki:PublicProperty.gif|}} CanRefreshRegion ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | == Return Value == | ||
| + | * Type:Boolean | ||
| + | |||
| + | ==== Protected Properties ==== | ||
| + | ==== Public Events ==== | ||
| + | ** {{wiki:PublicEvent.gif|}} DrawingException ** | ||
| + | * //Occurs before exception is drawing on map.// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | Event Arguments:[[ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs|DrawingExceptionOverlayEventArgs]] |
| - | [[#Public Properties|Go Back]] | + | |
| - | ===== Protected Properties ===== | + | |
| - | ===== Public Events ===== | + | |
| - | ==== DrawingException ==== | + | |
| - | Occurs before exception is drawing on map. | + | |
| - | === Event Arguments === | + | |
| - | ^ Event Arguments ^ | + | |
| - | | [[ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs|DrawingExceptionOverlayEventArgs]]<!-- ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs --> | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | ** {{wiki:PublicEvent.gif|}} DrawnException ** |
| - | [[#Public Events|Go Back]] | + | * //Occurs after exception is drawn on map.// |
| - | ==== DrawnException ==== | + | == Remarks == |
| - | Occurs after exception is drawn on map. | + | * //N/A// |
| - | === Event Arguments === | + | |
| - | ^ Event Arguments ^ | + | |
| - | | [[ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs|DrawnExceptionOverlayEventArgs]]<!-- ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs --> | | + | |
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.Overlay --> | + | Event Arguments:[[ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs|DrawnExceptionOverlayEventArgs]] |
| - | [[#Public Events|Go Back]] | + | |
| - | __NOTOC__ | ||
| - | [[Category:AndroidEdition]] | ||
| - | [[Category:ThinkGeo.MapSuite.AndroidEdition]] | ||
| - | [[Category:UpdateDocumentation]] | ||