set_view_state | R Documentation |
Set the view state of the map
set_view_state(
deckgl,
latitude = 37.8,
longitude = -122.45,
zoom = 12,
pitch = 0,
bearing = 0
)
deckgl |
A deckgl widget object. |
latitude |
The latitude of the view state. |
longitude |
The longitude of the view state. |
zoom |
The zoom level of the view state. |
pitch |
The pitch of the view state. |
bearing |
The bearing of the view state. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.