deckgl | R Documentation |
Create a deckgl widget
deckgl( latitude = 37.8, longitude = -122.45, zoom = 12, pitch = 0, bearing = 0, initial_view_state = NULL, views = NULL, width = NULL, height = NULL, element_id = NULL, ... )
latitude |
The latitude of the initial view state. |
longitude |
The longitude of the initial view state. |
zoom |
The zoom level of the initial view state. |
pitch |
The pitch of the initial view state. |
bearing |
The bearing of the initial view state. |
initial_view_state |
The initial view state.
If set, other view state arguments ( |
views |
A single |
width |
The width of the widget. |
height |
The height of the widget. |
element_id |
The explicit id of the widget (usually not needed). |
... |
Optional properties that are passed to the |
deckgl widget
https://deck.gl/#/documentation/deckgl-api-reference/deck for optional properties
that can be passed to the deck
instance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.