Skip to content

coordsSchema

type: union

a pair of numbers that uniquely identify a point on the globe

coordsSchema/0

type: object

a point at the North or South pole

lat

type: union

lat/0

type: literal
value: 90

the North pole

lat/1

type: literal
value: -90

the South pole

long

type: undefined

longitude must be undefined at the poles

coordsSchema/1

type: object

a non-polar point on the globe

lat

type: number
range: (-90, 90)

a measure of distance North (positive) or South (negative) of the Equator (zero degrees)

long

type: number
range: (-180, 180]

a measure of distance East (positive) or West (negative) of the Prime Meridian (zero degrees)