Skip to content

IGeolocationCoordinates

Defined in: location.ts:2

A position, shaped like the browser’s GeolocationCoordinates.

accuracy: number

Defined in: location.ts:4

Accuracy of latitude and longitude, in meters.


optional altitude?: number | null

Defined in: location.ts:6

Height above sea level, in meters, or null when unavailable.


optional altitudeAccuracy?: number | null

Defined in: location.ts:8

Accuracy of altitude, in meters, or null when unavailable.


optional heading?: number | null

Defined in: location.ts:10

Direction of travel in degrees clockwise from true north, or null when unavailable.


latitude: number

Defined in: location.ts:12

Latitude in decimal degrees.


longitude: number

Defined in: location.ts:14

Longitude in decimal degrees.


optional speed?: number | null

Defined in: location.ts:16

Speed in meters per second, or null when unavailable.