Class: GeoJSONGeometryCollection

GeoJSONGeometryCollection(geometries, bbox)

Contains the data associated with a GeoJSON GeometryCollection geometry. A geometry collection must have a member with the name "geometries". The value corresponding to "geometries" is an array. Each element in this array is a GeoJSON geometry object. To include information on the coordinate range for features, a GeoJSON object may have a member named "bbox".

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.
Source:
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
Source:

(readonly) geometries :Object

The GeoJSON GeometryCollection geometries as specified to this GeoJSON GeometryCollection's constructor.
Type:
  • Object
Source: