Set the view state of the map
set_view_state(map, lng, lat, zoom = 9, pitch = 0, bearing = 0)
| 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. |