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