set_view_state: Set the view state of the map

View source: R/view-state.R

set_view_stateR Documentation

Set the view state of the map

Description

Set the view state of the map

Usage

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.


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