public class LabelLayer extends Layer implements Map.UpdateListener, TileManager.Listener, ZoomLimiter.IZoomLimiter
Layer.EnableHandler| Constructor and Description |
|---|
LabelLayer(Map map,
VectorTileLayer l) |
LabelLayer(Map map,
VectorTileLayer l,
VectorTileLayer.TileLoaderThemeHook h) |
LabelLayer(Map map,
VectorTileLayer l,
VectorTileLayer.TileLoaderThemeHook h,
int zoomLimit) |
| Modifier and Type | Method and Description |
|---|---|
void |
addZoomLimit()
Add zoom limit to tile manager to load these tiles.
|
void |
clearLabels() |
void |
onDetach()
Override to perform clean up of resources before shutdown.
|
void |
onMapEvent(Event event,
MapPosition mapPosition) |
void |
onTileManagerEvent(Event e,
MapTile tile) |
void |
removeZoomLimit()
Remove zoom limit from tile manager.
|
void |
update() |
getRenderer, isEnabled, map, setEnabled, setEnableHandlerpublic LabelLayer(Map map, VectorTileLayer l)
public LabelLayer(Map map, VectorTileLayer l, VectorTileLayer.TileLoaderThemeHook h)
public LabelLayer(Map map, VectorTileLayer l, VectorTileLayer.TileLoaderThemeHook h, int zoomLimit)
public void addZoomLimit()
ZoomLimiter.IZoomLimiteraddZoomLimit in interface ZoomLimiter.IZoomLimiterpublic void removeZoomLimit()
ZoomLimiter.IZoomLimiterremoveZoomLimit in interface ZoomLimiter.IZoomLimiterpublic void clearLabels()
public void update()
public void onDetach()
Layerpublic void onMapEvent(Event event, MapPosition mapPosition)
onMapEvent in interface Map.UpdateListenerpublic void onTileManagerEvent(Event e, MapTile tile)
onTileManagerEvent in interface TileManager.Listener