Skip to content

Instantly share code, notes, and snippets.

@seabbs
Created January 25, 2018 15:15
Show Gist options
  • Save seabbs/296b91de97943de42b2d2e72657beb5f to your computer and use it in GitHub Desktop.
Save seabbs/296b91de97943de42b2d2e72657beb5f to your computer and use it in GitHub Desktop.
Playing with leaflet and TB data
mapStates = map("state", fill = TRUE, plot = FALSE)
leaflet(data = mapStates) %>% addTiles() %>%
addPolygons(fillColor = topo.colors(10, alpha = NULL), stroke = FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment