Config: { enableHighAccuracy?: boolean; maximumAge?: number; timeout?: number }

Config type for Web Geolocation module

Type declaration

  • OptionalenableHighAccuracy?: boolean

    The application would like to receive the best possible results (can increase location fix time)

  • OptionalmaximumAge?: number

    Maximum age of a possible cached position that is acceptable to return [milliseconds]

  • Optionaltimeout?: number

    Maximum length of time the device is allowed to take in order to return a position [milliseconds]