java.lang.Object | |
↳ | com.carto.renderers.MapRenderer |
The map renderer component.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
captureRendering(RendererCaptureListener listener, boolean waitWhileUpdating)
Captures map rendering as a bitmap.
| ||||||||||
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
MapRendererListener |
getMapRendererListener()
Returns the map renderer listener.
| ||||||||||
ViewState |
getViewState()
Returns the current view state.
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
| ||||||||||
void |
requestRedraw()
Requests the renderer to refresh the view.
| ||||||||||
void |
setMapRendererListener(MapRendererListener listener)
Sets the map renderer listener.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Captures map rendering as a bitmap. This operation is asynchronous and the result is returned via listener callback.
listener | The listener interface that will receive the callback once rendering is available. |
---|---|
waitWhileUpdating | If true, delay the capture until all asynchronous processes are finished (for example, until all tiles are loaded). |
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns the map renderer listener. Can be null.
Returns the hash value of this object.
Requests the renderer to refresh the view.
Note that there is normally no need to do this manually,
SDK automatically redraws the view when needed.
Sets the map renderer listener.
listener | The new map renderer listener. Can be null. |
---|