Get the outlines of a set of H3 hexagons, returned in GeoJSON MultiPolygonformat (an array of polygons, each with an array of loops, each an array ofcoordinates). Coordinates are returned as [lat, lng] pairs unless GeoJSONis requested.

h3_set_to_multi_polygon(h3Indexes, formatAsGeoJson = FALSE)

Arguments

h3Indexes

Array.<H3Index> H3 indexes to get outlines for

formatAsGeoJson

Boolean Whether to provide GeoJSON output: [lng, lat], closed loops

Value

Array.<Array> - MultiPolygon-style output.