GeoFeature<G, P>
A feature object which contains a geometry and associated properties.
See
https://tools.ietf.org/html/rfc7946#section-3.2
Type Parameters
Type Parameter | Default type |
---|---|
G | GeometryLiteral |
P extends object | null | null |
Properties
geometry
geometry: G;
The feature's geometry.
See
id
id: P extends IdentifiableGeoFeature ? P<P>["GEOID"] : undefined | null | string | number;
A unique identifier for the feature, such as a UUID, a serial number, or a name.
properties
properties: P;
Additional properties associated with a GeoJSON object.
type
type: "Feature";
Declares the type of GeoJSON object as a Feature
.