set_view {mapgl} | R Documentation |
Set the map center and zoom level
set_view(map, center, zoom)
map |
A map object created by the |
center |
A numeric vector of length 2 specifying the center of the map (longitude, latitude). |
zoom |
The zoom level. |
The updated map object.