Create a view_state
Usage
view_state(center = c(0, 0), zoom = 0, pitch = 0, bearing = 0, ...)
Arguments
- center
numeric
|sf::st_point
Center of the viewport on map- zoom
numeric
Scale = \(2^{zoom}\)- pitch
numeric
Camera angle in degrees (0 is straight down)- bearing
numeric
Map rotation in degrees (0 means north is up)- ...
additional parameters to pass to
view_state
|initial_view_state