move_layer | R Documentation |
This function allows a layer to be moved to a different z-position in an existing Mapbox GL or Maplibre GL map using a proxy object.
move_layer(proxy, layer_id, before_id = NULL)
proxy |
A proxy object created by |
layer_id |
The ID of the layer to move. |
before_id |
The ID of an existing layer to insert the new layer before. Important: this means that the layer will appear immediately behind the layer defined in |
The updated proxy object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.