Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
<!– Class –> This class represents an overlay which maintaining markers.
*System.Object ThinkGeo.MapSuite.AndroidEdition.Overlay *ThinkGeo.MapSuite.AndroidEdition.MarkerOverlay
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Initializes a new instance of the class. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Overlay | This method will simulate the Close interaction. | |
![]() | Overlay | This method dispose unmanaged resource used in this class. | |
![]() | MapArguments, OverlayRefreshType | Overlay | This method draws the overlay with the provided extent in world coordinate. |
![]() | Object | Object | |
![]() | Overlay | This method gets a bounding box of the Overlay. | |
![]() | Object | ||
![]() | Object | ||
![]() | MapArguments | Overlay | This method initializes overlay object. |
![]() | Overlay | This method will simulate the Open interaction. | |
![]() | TransformArguments, MapArguments | Overlay | This method will simulate the PostTransform interaction. |
![]() | 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. | |
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Overlay | This protected virtual method is the Core method of Close API. | |
![]() | Boolean | Overlay(overriden) | Releases unmanaged and - optionally - managed resources. |
![]() | MapArguments, OverlayRefreshType | Overlay(overriden) | This method creates markers in the provided world extent and places on the overlay. |
![]() | GeoCanvas, Exception | Overlay | This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException. |
![]() | GeoCanvas, Exception | Overlay | This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException. |
![]() | Object(overriden) | ||
![]() | Overlay | This method returns the bounding box of the Overlay. | |
![]() | MapArguments | Overlay | This method initializes overlay object. |
![]() | Object | ||
![]() | DrawingExceptionOverlayEventArgs | Overlay | This method raises before the overlay is drawing exception. |
![]() | DrawnExceptionOverlayEventArgs | Overlay | This method raises after the overlay is drawn exception. |
![]() | Overlay | This protected virtual method is the Core method of Open API. | |
![]() | TransformArguments, MapArguments | Overlay(overriden) | This protected virtual method is the Core method of PostTransform API. |
![]() | 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. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | String | Overlay | Gets or sets the attribution for this overlay. |
![]() | DrawingExceptionMode | Overlay | This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing. |
![]() | DrawingQuality | Overlay | Gets or sets the drawingQuality for this overlay. |
![]() | Boolean | Overlay | This property gets if this overlay is empty or not. |
![]() | Boolean | Overlay | Gets or sets if this overlay is visible. |
![]() | MapArguments | Overlay | Gets or sets the mapArguments for this overlay. |
![]() | GeoCollection<Marker> | A collection that holds all the marker objects adding in the overlay. | |
![]() | String | Overlay | Gets or sets the name of this overaly. |
![]() | Double | Overlay | Gets or sets the opacity for this overlay. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|---|---|---|
![]() | DrawingExceptionOverlayEventArgs | Overlay | Occurs before exception is drawing on map. |
![]() | DrawnExceptionOverlayEventArgs | Overlay | Occurs after exception is drawn on map. |
Initializes a new instance of the class.
Name | Type | Description |
---|
This method will simulate the Close interaction.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
This method dispose unmanaged resource used in this class.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
This method draws the overlay with the provided extent in world coordinate.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
mapArguments | MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –> | This parameter maintains current map information for calculating mechanism. |
refreshType | 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 –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
This method gets a bounding box of the Overlay.
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 Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | A RectangleShape indicating the bounding box of this overlay. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method initializes overlay object.
This is a wrapper method for the virtual method InitializeCore.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
mapArguments | MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –> | This parameter maintains current map information for calculating mechanism. |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
This method will simulate the Open interaction.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
This method will simulate the PostTransform interaction.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
transformInfo | TransformArguments<!– ThinkGeo.MapSuite.AndroidEdition.TransformArguments –> | This parameter maintains the transfrom information for calculating transform. |
mapArguments | MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –> | This parameter maintains current map information for calculating mechanism. |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
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.
The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This protected virtual method is the Core method of Close API.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Releases unmanaged and - optionally - managed resources.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
isDisposing | Boolean<!– System.Boolean –> | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay(overriden) –> Go Back
This method creates markers in the provided world extent and places on the overlay.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
mapArguments | MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –> | This parameter maintains current map information for calculating mechanism. |
refreshType | OverlayRefreshType<!– ThinkGeo.MapSuite.AndroidEdition.OverlayRefreshType –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay(overriden) –> Go Back
This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.
This method can be overriden its logic by rewrite the DrawExceptionCore.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
geoCanvas | GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –> | |
exception | Exception<!– System.Exception –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
geoCanvas | GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –> | |
ex | Exception<!– System.Exception –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object(overriden) –> Go Back
This method returns the bounding box of the Overlay.
This method returns the bounding box of the Overlay.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | This method returns the bounding box of the Overlay. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
This method initializes overlay object.
When implementing this method, consider initializing the overlay canvas such as setting its z-index, setting current map reference to the CurrentMap property.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
mapArgument | MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method raises before the overlay is drawing exception.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
args | DrawingExceptionOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs –> | This parameter is the event argument for DrawingException event. |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
This method raises after the overlay is drawn exception.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
args | DrawnExceptionOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs –> | This parameter is the event argument for DrawingException event. |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
This protected virtual method is the Core method of Open API.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
This protected virtual method is the Core method of PostTransform API.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
transformInfo | TransformArguments<!– ThinkGeo.MapSuite.AndroidEdition.TransformArguments –> | This parameter maintains the transfrom information for calculating transform. |
mapArguments | MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –> | This parameter maintains current map information for calculating mechanism. |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay(overriden) –> Go Back
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.
The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Gets or sets the attribution for this overlay.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing.
Return Type |
---|
DrawingExceptionMode<!– ThinkGeo.MapSuite.Core.DrawingExceptionMode –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Gets or sets the drawingQuality for this overlay.
Return Type |
---|
DrawingQuality<!– ThinkGeo.MapSuite.Core.DrawingQuality –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
This property gets if this overlay is empty or not.
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 Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Gets or sets if this overlay is visible.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Gets or sets the mapArguments for this overlay.
Return Type |
---|
MapArguments<!– ThinkGeo.MapSuite.AndroidEdition.MapArguments –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
A collection that holds all the marker objects adding in the overlay.
Return Type |
---|
GeoCollection<Marker><!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.Marker} –> |
<!– ThinkGeo.MapSuite.AndroidEdition.MarkerOverlay –> Go Back
Gets or sets the name of this overaly.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Gets or sets the opacity for this overlay.
Return Type |
---|
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Occurs before exception is drawing on map.
Event Arguments |
---|
DrawingExceptionOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.DrawingExceptionOverlayEventArgs –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
Occurs after exception is drawn on map.
Event Arguments |
---|
DrawnExceptionOverlayEventArgs<!– ThinkGeo.MapSuite.AndroidEdition.DrawnExceptionOverlayEventArgs –> |
<!– ThinkGeo.MapSuite.AndroidEdition.Overlay –> Go Back
NOTOC AndroidEdition ThinkGeo.MapSuite.AndroidEdition UpdateDocumentation
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.