Set the view state of the map

set_view_state(
  deckgl,
  latitude = 37.8,
  longitude = -122.45,
  zoom = 12,
  pitch = 0,
  bearing = 0
)

Arguments

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.