mapboxgl_proxy | R Documentation |
This function allows updates to be sent to an existing Mapbox GL map in a Shiny application without redrawing the entire map.
mapboxgl_proxy(mapId, session = shiny::getDefaultReactiveDomain())
mapId |
The ID of the map output element. |
session |
The Shiny session object. |
A proxy object for the Mapbox GL map.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.