Created
April 1, 2016 22:24
-
-
Save erzk/da5f1caffc85ea9ba38507e32c8ed8c8 to your computer and use it in GitHub Desktop.
plot ESRI shapefiles - Leaflet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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