Get all hexagons with centers contained in a given polygon. The polygonis specified with GeoJson semantics as an array of loops. Each loop isan array of [lat, lng]
pairs (or [lng, lat]
if isGeoJson is specified).The first loop is the perimeter of the polygon, and subsequent loops areexpected to be holes.
h3_polyfill(coordinates, res, isGeoJson = FALSE)
coordinates |
|
---|---|
res |
|
isGeoJson |
|
Array.<H3Index>
- H3 indexes for all hexagons in polygon