Parameter interface for MPPolygon.

Export

MPPolygonParams

interface MPPolygonParams {
    bbox: number[];
    coordinates: number[][][];
    type?: string;
}

Properties

bbox: number[]

bounding box, as specified in the [GeoJson format]https://stevage.github.io/geojson-spec/#section-5.

coordinates: number[][][]

Geometry, as specified in the [GeoJSON format]https://stevage.github.io/geojson-spec/#section-3.1.6.

type?: string

the type of the geometry, leave this blank as it is just used to parse the geometry to JSON

Generated using TypeDoc