Skip to content

Type Alias: Position ​

ts
type Position = number[];

Defined in: types.ts:14

A single coordinate: [x, y], [x, y, z], or [x, y, z, m].

Longitude/easting first, per GeoJSON. A third ordinate is read as Z and a fourth as a measure unless WriteOptions.dimensions says otherwise.

Released under the MIT License.