addStyleLayer method
- String properties,
- LayerPosition? layerPosition
Adds a new style layer from a JSON properties string. Prefer the typed
addLayer / addLayerAt helpers when constructing layers from facade
classes; this raw-JSON form is for callers driving layers from style
spec strings directly.
Implementation
Future<void> addStyleLayer(String properties, LayerPosition? layerPosition) =>
_impl.addStyleLayer(properties, layerPosition);