Home > @i2analyze/i2connect > data > IGeoJsonFeature
data.IGeoJsonFeature interface
A geospatial feature, containing a geometry object and its associated properties.
Signature:
interface IGeoJsonFeature<P = Record<string, unknown> | null>
Introduced: API version 1.2
Type Parameters
Parameter | Type | Description |
---|---|---|
P | any(default: Record<string, unknown> | null) | The type of the associated properties. |
Remarks
As described in RFC 7946.
Properties
Property | Type | Description |
---|---|---|
geometry | IGeoJsonGeometry | Gets the feature's geometry object. |
properties | P | Gets the properties associated with the geometry object. |
type | 'Feature' | Gets the type of the object, which is always 'Feature'. |