GeoJSON Object

https://tools.ietf.org/html/rfc7946#section-3 The GeoJSON specification also allows foreign members Developers should use "&" type in TypeScript or extend the interface to add these foreign members.

interface GeoJSONObject {
    bbox?: BBox;
    type: string;
}

Hierarchy (View Summary)

Properties

Properties

bbox?: BBox

Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. https://tools.ietf.org/html/rfc7946#section-5

type: string

Specifies the type of GeoJSON object.