Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
plot ESRI shapefiles - Leaflet
# interactive leaflet plot
leaflet() %>%
addTiles() %>%
addPolygons(data = sh2,
weight = 2) %>%
addPolygons(data = sh1,
color = "red",
weight = 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment