prep_for_polyfill | R Documentation |
Converts a variety of possible input geometries to geojson for
h3jsr::polygon_to_cells()
.
prep_for_polyfill(polys = NULL)
## S3 method for class 'sf'
prep_for_polyfill(polys = NULL)
## S3 method for class 'sfc'
prep_for_polyfill(polys = NULL)
## S3 method for class 'sfg'
prep_for_polyfill(polys = NULL)
polys |
|
'geojson' representation of supplied geometry.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.