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