mapdeck_view: Mapdeck view

Description Usage Arguments

View source: R/mapdeck_map.R

Description

Changes the view of the of the map

Usage

1
2
3
4
5
6
7
8
9
mapdeck_view(
  map,
  location = NULL,
  zoom = NULL,
  pitch = NULL,
  bearing = NULL,
  duration = NULL,
  transition = c("linear", "fly")
)

Arguments

map

a mapdeck map object

location

unnamed vector of lon and lat coordinates (in that order)

zoom

zoom level of the map

pitch

the pitch angle of the map

bearing

bearing of the map between 0 and 360

duration

time in milliseconds of the transition

transition

type of transition


mapdeck documentation built on Sept. 4, 2020, 9:07 a.m.