deckgl: Create a deckgl widget

View source: R/deckgl.R

deckglR Documentation

Create a deckgl widget

Description

Create a deckgl widget

Usage

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.


deckgl documentation built on March 7, 2023, 5:37 p.m.