leafletMapbox: adds a Toolbar to draw shapes/points on the map

Description Usage Arguments Value

Description

adds a Toolbar to draw shapes/points on the map

Usage

1
2
3
leafletMapbox(access_token = Sys.getenv("MAPBOX_ACCESS_TOKEN"), init = NULL,
  data = NULL, width = NULL, height = NULL, padding = 0,
  options = leafletOptions())

Arguments

access_token

By default will look up for a Environment variable MAPBOX_ACCESS_TOKEN

init

An optional id/url/tilejson for the basemap.

data

the data for the map

width

the width of the map

height

the height of the map

padding

the padding of the map

options

the map options

map

the map

Value

A HTML widget object, on which we can add graphics layers using


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