StyleLayer extension
Extension for StyleManager to add/update/get layers from the current style.
- on
Methods
-
addLayer(
Layer layer) → Future< void> -
Available on StyleManager, provided by the StyleLayer extension
Add a layer the the current style. -
addLayerAt(
Layer layer, LayerPosition position) → Future< void> -
Available on StyleManager, provided by the StyleLayer extension
Add a layer to the current style in a specific position. -
getLayer(
String layerId) → Future< Layer?> -
Available on StyleManager, provided by the StyleLayer extension
Get a previously added layer from the current style. -
updateLayer(
Layer layer) → Future< void> -
Available on StyleManager, provided by the StyleLayer extension
Update an existing layer in the style.