addLayerAt method
- Layer layer,
- LayerPosition position
Add a layer to the current style in a specific position.
Implementation
Future<void> addLayerAt(Layer layer, LayerPosition position) async {
var encode = await layer._encode();
return addStyleLayer(encode, position);
}