Get the vertices of a given hexagon (or pentagon), as an array of [lat, lng]points. For pentagons and hexagons on the edge of an icosahedron face, thisfunction may return up to 10 vertices.
h3_to_geo_boundary(h3Index, formatAsGeoJson = FALSE)
| h3Index |
|
|---|---|
| formatAsGeoJson |
|
Array.<Array> - Array of [lat, lng] pairs