Set the view state of the map
1 | 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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.