Class: GeoJSONFeatureCollection

GeoJSONFeatureCollection(features, bbox)

Contains the data associated with a GeoJSON Feature Collection Object. An object of type "FeatureCollection" must have a member with the name "features". The value corresponding to "features" is an array. Each element in the array is a feature object as defined in GeoJSONFeature. To include information on the coordinate range for feature collections, a GeoJSON object may have a member named "bbox".

Constructor

new GeoJSONFeatureCollection(features, bbox)

Constructs a GeoJSON FeatureCollection object. Applications typically do not call this constructor. It is called by GeoJSON as GeoJSON is read.
Parameters:
Name Type Description
features Object An object containing the data associated with the GeoJSON FeatureCollection features.
bbox Object An object containing the value of GeoJSON FeatureCollection bbox member.
Source:
Throws:
If the specified mandatory features parameter is null or undefined.
Type
ArgumentError

Members

(readonly) bbox :Object

The GeoJSON Collection bbox member as specified to this GeoJSONFeatureCollection's constructor.
Type:
  • Object
Source:

(readonly) features :Object

The GeoJSON Feature Collection features as specified to this GeoJSONFeatureCollection's constructor.
Type:
  • Object
Source: