fly_to.Rd
Fly to a given view
fly_to(map, center, zoom = NULL, ...)
A map object created by the mapboxgl or maplibre function or a proxy object.
mapboxgl
maplibre
A numeric vector of length 2 specifying the target center of the map (longitude, latitude).
The target zoom level.
Additional named arguments for flying to the view.
The updated map object.