GeometryCollection class
A GeoJSON GeometryCollection object - a JSON object that contains a collection of a GeoJSON Geometry objects. The full description is detailed in RFC 7946.
Constructors
Geometry |
Constructs a GeometryCollection. |
Properties
geometries | The collection of GeoJSON geometries contained in the geometry collection. |
type | A GeoJSON type descriptor with value "GeometryCollection". |
TYPE | A static GeoJSON type descriptor for the GeometryCollection class to be used in runtime comparisons. |
Constructor Details
GeometryCollection(Geometry[])
Constructs a GeometryCollection.
new GeometryCollection(geometries: Geometry[])
Parameters
- geometries
-
Geometry[]
The collection of geometries that make up the geometry collection.
Property Details
geometries
The collection of GeoJSON geometries contained in the geometry collection.
geometries: Geometry[]
Property Value
Geometry[]
type
A GeoJSON type descriptor with value "GeometryCollection".
type: string
Property Value
string
TYPE
A static GeoJSON type descriptor for the GeometryCollection class to be used in runtime comparisons.
static TYPE: string
Property Value
string