Skip to main content

useGeoLocation

Callable

  • useGeoLocation(__namedParameters?: { enabled: undefined | boolean; silent: undefined | boolean; timeout: undefined | number }): { value: null | GeoLocation }

  • Parameters

    • __namedParameters: { enabled: undefined | boolean; silent: undefined | boolean; timeout: undefined | number } = {}
      • enabled: undefined | boolean = true
      • silent: undefined | boolean = false
      • timeout: undefined | number = 0

    Returns { value: null | GeoLocation }