GeoLeaf Core API - v3.0.0
    Preparing search index...

    Shape of a user-position snapshot stored in GeoLocationState.

    interface UserPositionState {
        lat: number;
        lng: number;
        accuracy?: number;
        timestamp?: number;
    }
    Index

    Properties

    lat: number

    Latitude in decimal degrees.

    lng: number

    Longitude in decimal degrees.

    accuracy?: number

    GPS accuracy in metres.

    timestamp?: number

    Unix timestamp (ms) when the fix was recorded.