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