Constructor
new GeoJSONGeometryCollection(geometries, bbox)
Constructs a GeoJSON geometry for a GeometryCollection. Applications typically do not call this constructor.
It is called by GeoJSON as GeoJSON geometries are read.
Parameters:
Name | Type | Description |
---|---|---|
geometries |
Object | An array containing GeoJSONGeometry objects. |
bbox |
Object | An object containing the value of GeoJSON GeometryCollection bbox member. |
Throws:
-
If the specified mandatory geometries is null or undefined or if the geometries parameter is not an array of GeoJSONGeometry.
- Type
- ArgumentError
Members
(readonly) bbox :Object
The GeoJSON GeometryCollection bbox member as specified to this GeoJSONGeometryCollection's constructor.
Type:
- Object
(readonly) geometries :Object
The GeoJSON GeometryCollection geometries as specified to this GeoJSON GeometryCollection's constructor.
Type:
- Object