addPersistentStyleLayer abstract method

Future<void> addPersistentStyleLayer(
  1. String properties,
  2. LayerPosition? layerPosition
)

Adds a persistent style layer. Persistent layers survive style reloads when the new style does not redefine the same layer id.

Implementation

Future<void> addPersistentStyleLayer(
  String properties,
  LayerPosition? layerPosition,
);