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,
  ...
)

Arguments

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 (longitude, latidude et cetera) are ignored.

views

A single View, or an array of View instances. If not supplied, a single MapView will be created.

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 deck instance.

Value

deckgl widget

See also

https://deck.gl/#/documentation/deckgl-api-reference/deck for optional properties that can be passed to the deck instance.