Type alias TGeolocationObject

TGeolocationObject: {
    bearing?: number;
    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

  • Optional bearing?: number

    Optional property to override the bearing of the bluedot. Specifies the clockwise rotation angle in degrees from North. For example:

    • A value of 0 (or undefined) indicates North.
    • A value of 90 indicates East.
    • A value of 180 indicates South.
    • A value of 225 indicates SouthWest. This property helps in setting a specific orientation for the bluedot.
  • 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