addMapboxTileLayer: Adds a Mapbox TileLayer using the given id/url/tilejson

Description Usage Arguments

Description

Adds a Mapbox TileLayer using the given id/url/tilejson

Usage

1
2
3
addMapboxTileLayer(map, id, layerId = NULL, group = NULL,
  format = c("png", "png32", "png64", "png128", "png256", "jpg70", "jpg80",
  "jpg90"), options = leaflet::tileOptions())

Arguments

map

The map widget

id

Either an id or a URL or a tilejson

layerId

An optional unique ID for the TileLayer

group

An optional group this TileLayer belongs to

format

Tile image format.

options

Options for Tile Layer.


bhaskarvk/leaflet.mapbox documentation built on May 12, 2019, 8:24 p.m.