Interface Feature

A adapted GeoJSON feature object.

interface Feature {
    area?: number;
    circumference?: number;
    geometry: Geometry;
    length?: number;
    objectId: any[];
    properties: Record<string, string>;
    type: "Feature";
}

Properties

area?: number

The area of a Polygon feature

circumference?: number

The circumference of a Polygon feature

geometry: Geometry

The geometry

length?: number

The length of a LineString feature

objectId: any[]

The id of the feature

properties: Record<string, string>

The formated properties

type: "Feature"

The object's type