Constructor
new GeoJSONFeature(geometry, properties, id, bbox)
Constructs a GeoJSON Feature object. Applications typically do not call this constructor. It is called by
GeoJSON as GeoJSON is read.
Parameters:
Name | Type | Description |
---|---|---|
geometry |
Object | An object containing the value of GeoJSON geometry member. |
properties |
Object | An object containing the value of GeoJSON properties member. |
id |
Object | An object containing the value of GeoJSON Feature id member. |
bbox |
Object | An object containing the value of GeoJSON Feature bbox member. |
- Source:
Throws:
-
If the specified mandatory geometries or properties are null or undefined.
- Type
- ArgumentError
Members
(readonly) bbox :Object
The GeoJSON Feature bbox member as specified to this GeoJSONFeature's constructor.
Type:
- Object
(readonly) geometry :Object
The GeoJSON Feature geometry as specified to this GeoJSONFeature's constructor.
Type:
- Object
- Source:
(readonly) id :Object
The GeoJSON Feature id as specified to this GeoJSONFeature's constructor.
Type:
- Object
(readonly) properties :Object
The GeoJSON Feature properties as specified to this GeoJSONFeature's constructor.
Type:
- Object