if (FALSE) {
library(leaflet)
library(mapboxapi)
leaflet() %>%
addMapboxTiles(
style_id = "light-v9",
username = "mapbox"
) %>%
setView(
lng = -74.0051,
lat = 40.7251,
zoom = 13
)
}
Run the code above in your browser using DataLab