Skip to content

Instantly share code, notes, and snippets.

@erzk
Created April 1, 2016 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erzk/da5f1caffc85ea9ba38507e32c8ed8c8 to your computer and use it in GitHub Desktop.
Save erzk/da5f1caffc85ea9ba38507e32c8ed8c8 to your computer and use it in GitHub Desktop.
plot ESRI shapefiles - Leaflet
# interactive leaflet plot
library(leaflet)
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