LayerInheritance: EventListener > Layer The Layer class is the base class of all layers available in the SDK. Summary
disableAutoRedraw
Remove the automatic redraw of the layer. Parameters
See AlsoenableAutoRedraw
Sets the layer to be automatically redrawn after each change of its content. See AlsogetType
Returns the type of the layer. ReturnsLayer type. |
Some of the classes that inherit from this class are: Map, OverviewMap, LayersManager
|
Layers Types getType() |
string getName() |
enableAutoRedraw() |
NOTE:
Enable the layer auto redraw if you use a small amount of shapes
If you have a massive use of shapes in your layer it’s recommended to call the redraw method manually after any change in the layer.
redraw() |
disableAutoRedraw() |
NOTE:
Enable the layer auto redraw if you use a small amount of shapes
If you have a massive use of shapes in your layer it’s recommended to call the redraw method manually after any change in the layer.
isAutoRedrawEnabled() |
|
int getMaxZoom() |
|
int getMinZoom() |
show() |
hide() |
boolean isVisible() |
Layer.TYPE_MAP_LAYER |
Layer.TYPE_VECTOR_LAYER |
Layer.TYPE_LAYERS_COLLECTION |
Layer.TYPE_LAYERS_MANAGER |