Changes the view of the of the map
mapdeck_view(
map,
location = NULL,
zoom = NULL,
pitch = NULL,
bearing = NULL,
duration = NULL,
transition = c("linear", "fly")
)
a mapdeck
map object
unnamed vector of lon and lat coordinates (in that order)
zoom level of the map
the pitch angle of the map
bearing of the map between 0 and 360
time in milliseconds of the transition
type of transition