FeatureCollection class
A GeoJSON FeatureCollection object - a JSON object that contains a collection of GeoJSON features. The full description is detailed in RFC 7946.
Constructors
Feature |
Constructs a FeatureCollection. |
Properties
bbox | The bounding box of the feature collection. |
features | The collection of GeoJSON features contained in the feature collection. |
type | A GeoJSON type descriptor with value "FeatureCollection". |
TYPE | A static GeoJSON type descriptor for the FeatureCollection class to be used in runtime comparisons. |
Constructor Details
FeatureCollection(Array<Feature<Geometry, any>>, BoundingBox)
Constructs a FeatureCollection.
new FeatureCollection(features: Array<Feature<Geometry, any>>, bbox?: BoundingBox)
Parameters
The collection of features that make up the feature collection.
- bbox
- BoundingBox
The bounding box of the feature collection.
Property Details
bbox
features
The collection of GeoJSON features contained in the feature collection.
features: Array<Feature<Geometry, any>>
Property Value
type
A GeoJSON type descriptor with value "FeatureCollection".
type: string
Property Value
string
TYPE
A static GeoJSON type descriptor for the FeatureCollection class to be used in runtime comparisons.
static TYPE: string
Property Value
string