mapdeck_view | R Documentation |
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")
)
map |
a |
location |
unnamed vector of lon and lat coordinates (in that order) |
zoom |
zoom level of the map |
pitch |
the pitch angle of the map |
bearing |
bearing of the map between 0 and 360 |
duration |
time in milliseconds of the transition |
transition |
type of transition |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.