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

    Snapshot of the GPS state exposed via GeoLeaf.Geolocation.getState().

    interface GeolocationStateSnapshot {
        active: boolean;
        watchId: number | null;
        userPosition:
            | { lat: number; lng: number; accuracy?: number; timestamp?: number }
            | null;
    }
    Index

    Properties

    active: boolean
    watchId: number | null
    userPosition:
        | { lat: number; lng: number; accuracy?: number; timestamp?: number }
        | null