add_vector_source {mapgl} | R Documentation |
Add a vector tile source to a Mapbox GL or Maplibre GL map
add_vector_source(map, id, url)
map |
A map object created by the |
id |
A unique ID for the source. |
url |
A URL pointing to the vector tile source. |
The modified map object with the new source added.