Home > @i2analyze/i2connect > data > IGeoJsonFeature
data.IGeoJsonFeature interface
A geospatial feature, containing a geometry object and its associated properties, as described in [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.2).
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. |
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'. |