Update an existing layer in the style.
Future<void> updateLayer(Layer layer) async { var encode = await layer._encode(); return setStyleLayerProperties(layer.id, encode); }