add_mapbox_layer: Add a layer using the mapbox style specification to the map

Description Usage Arguments

View source: R/mapboxgl-stuff.R

Description

Add a layer using the mapbox style specification to the map

Usage

1
add_mapbox_layer(map, source_id, style, id = "mapbox-layer")

Arguments

map

map widget created by cartovl

source_id

The id of the source to get data from.

style

style conforming to the mapbox style specification

id

unique id of the style, will be added to style


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