Point class

A GeoJSON Point object - a JSON object that represents a geographic position. The full description is detailed in RFC 7946.

Constructors

Point(Position)

Constructs a Point.

Properties

coordinates

The position defining the point.

type

A GeoJSON type descriptor with value "Point".

TYPE

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

Constructor Details

Point(Position)

Constructs a Point.

new Point(coordinates: Position)

Parameters

coordinates
Position

The position defining the point.

Property Details

coordinates

The position defining the point.

coordinates: Position

Property Value

type

A GeoJSON type descriptor with value "Point".

type: string

Property Value

string

TYPE

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

static TYPE: string

Property Value

string