Skip to main content

addGeoLocationListener

Callable

  • addGeoLocationListener(...args: [value: { silent?: boolean; timeout?: number }, callback: (geoLocation: GeoLocation) => void]): Promise<number>

  • This adds a listener to determine your location.


    Parameters

    • rest...args: [value: { silent?: boolean; timeout?: number }, callback: (geoLocation: GeoLocation) => void]

    Returns Promise<number>