Type alias TGeolocationObject

TGeolocationObject: {
    coords: {
        accuracy: number;
        floorLevel?: number;
        latitude: number;
        longitude: number;
    };
    positionIndex?: number;
    timestamp: number;
    type?: GEOLOCATION_STATUS;
}

An extension of the GeolocationPosition type. https://developer.mozilla.org/en-US/docs/Web/API/GeolocationPosition

Type declaration

  • coords: {
        accuracy: number;
        floorLevel?: number;
        latitude: number;
        longitude: number;
    }
    • accuracy: number
    • Optional floorLevel?: number
    • latitude: number
    • longitude: number
  • Optional positionIndex?: number
  • timestamp: number
  • Optional type?: GEOLOCATION_STATUS