Description Usage Arguments Value
adds a Toolbar to draw shapes/points on the map
1 2 3 | leafletMapbox(access_token = Sys.getenv("MAPBOX_ACCESS_TOKEN"), init = NULL,
data = NULL, width = NULL, height = NULL, padding = 0,
options = leafletOptions())
|
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 |
A HTML widget object, on which we can add graphics layers using
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.