MultiPoint class

A GeoJSON MultiPoint object - a JSON object that represents multiple geographic positions. The full description is detailed in RFC 7946.

Constructors

MultiPoint(Position[], BoundingBox)

Constructs a MultiPoint.

Properties

bbox

The bounding box of the multipoint.

coordinates

The array of multiple positions defining the multipoint.

type

A GeoJSON type descriptor with value "MutliPoint".

TYPE

A static GeoJSON type descriptor for the MultiPoint class to be used in runtime comparisons.

Constructor Details

MultiPoint(Position[], BoundingBox)

Constructs a MultiPoint.

new MultiPoint(coordinates: Position[], bbox?: BoundingBox)

Parameters

coordinates

Position[]

The array of multiple positions defining the multipoint.

bbox
BoundingBox

The bounding box of the multipoint.

Property Details

bbox

The bounding box of the multipoint.

public bbox?: BoundingBox

Property Value

coordinates

The array of multiple positions defining the multipoint.

public coordinates: Position[]

Property Value

type

A GeoJSON type descriptor with value "MutliPoint".

public type: string

Property Value

string

TYPE

A static GeoJSON type descriptor for the MultiPoint class to be used in runtime comparisons.

public static TYPE: string

Property Value

string