Type alias GeoPoint

GeoPoint: [longitude: number, latitude: number] | {
    lat: number;
    lon: number;
} | {
    latitude: number;
    longitude: number;
}

GeoPoint represents a specific coordinate on earth. We support a number of different variants of geopoints being specified.

Type declaration

  • lat: number
  • lon: number

Type declaration

  • latitude: number
  • longitude: number