updateLayer method

Future<void> updateLayer(
  1. Layer layer
)

Update an existing layer in the style.

Implementation

Future<void> updateLayer(Layer layer) async {
  var encode = await layer._encode();
  return setStyleLayerProperties(layer.id, encode);
}