WP {tilegramsR} | R Documentation |
A 'SpatialPolygonsDataFrame' where each polygon represents a state
A 'SpatialPointsDataFrame' of centroids of each state
WP WP.centers
A SpatialPolygonsDataFrame
## Not run: library(leaflet) library(tilegramsR) spdf <- WP leaflet(spdf) %>% addPolygons() ## End(Not run)