Description Usage Format Examples
A 'sf' object where each polygon represents a state
A 'sf' object of centroids of each state
1 2 3 |
sf
1 2 3 4 5 6 7 8 9 | ## Not run:
library(leaflet)
library(tilegramsR)
data <- sf_NPR1to1
leaflet(data,
options=leafletOptions(crs=leafletCRS("L.CRS.Simple"))) %>%
addPolygons()
## End(Not run)
|
Loading required package: sf
Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.