add_sf: Add sf

Description Usage Arguments Details

View source: R/map_layer_sf.R

Description

Adds an sf object to the map.

Usage

1
add_sf(map, data = get_map_data(map), ...)

Arguments

map

a mapdeck map object

data

data to be used in the layer. All coordinates are expected to be EPSG:4326 (WGS 84) coordinate system

...

other argumetns passed to one of the plotting layers. See details

Details

The plotting layer is determined by the type of sf geometries.


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