R/view.R
set_zoom.Rd
Set the map zoom
set_zoom(map, zoom)
A GeoLibre widget.
Zoom level, clamped to between 0 and 24.
The modified widget.
map <- geolibre() |> set_zoom(6) stopifnot(map$x$project$mapView$zoom == 6)