add_layer: Add a layer to the map

Description Usage Arguments

View source: R/layer.R

Description

Add a layer to the map

Usage

1
add_layer(map, data, viz_def = list(), id = "layer", ...)

Arguments

map

map widget created by cartovl

data

data (geojson)

viz_def

visualization definition, character vector; if set to NULL a default style will be applied

id

unique layer id

...

more props


crazycapivara/cartovl documentation built on Nov. 4, 2019, 9:16 a.m.