The GeoJSON geometry types a declared kind names, in either vocabulary.
A GeoJSON name is kept verbatim; a lowercase kind expands to its family; anything else
answers an EMPTY set. Empty is the honest answer for a token nobody defined — a guess
would render a layer as something it never said it was, and no caller could tell.
Parameters
kind: unknown
One declared value, or a list of them. Any other type answers empty.
Returns Set<string>
The GeoJSON type names, possibly empty. Never null.
Example
geometryKindToGeoJSONTypes("polyline"); // Set { "LineString", "MultiLineString" } geometryKindToGeoJSONTypes("Point"); // Set { "Point" } geometryKindToGeoJSONTypes("hexagon"); // Set {}
The GeoJSON geometry types a declared kind names, in either vocabulary.
A GeoJSON name is kept verbatim; a lowercase kind expands to its family; anything else answers an EMPTY set. Empty is the honest answer for a token nobody defined — a guess would render a layer as something it never said it was, and no caller could tell.