set_view_state {mapboxer} | R Documentation |
Set the view state of the map
Description
Set the view state of the map
Usage
set_view_state(map, lng, lat, zoom = 9, pitch = 0, bearing = 0)
Arguments
map |
A mapboxer object. |
lng |
The longitude of the geographical center point of the map. |
lat |
The latitude of the geographical center point of the map. |
zoom |
The zoom level of the map. |
pitch |
The pitch (tilt) of the map. |
bearing |
The bearing (rotation) of the map. |
[Package mapboxer version 0.4.0 Index]