What?

Add-on package for the Leaflet package to provide Mapbox.js v2.4.0 bindings.

Why?

Mapbox.js provides several mapbox specific extensions which should be natively available in R, hence the package.

How?

# For now you will need to build leaflet using a branch of mine
devtools::install_github('rstudio/leaflet')

devtools::install_github('bhaskarvk/leaflet.mapbox')

library(leaflet.mapbox)

leafletMapbox(access_token=<YOUR ACCESS TOKEN>) %>%
  addMapboxTileLayer(mapbox.classicStyleIds$dark)

Progress



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