Hierarchy

  • Geolocator

Constructors

Methods

  • Clear watcher by given ID.

    Parameters

    • watchId: number

      ID of watcher

    Returns void

  • Get the current user position.

    Parameters

    • __namedParameters: Object

    Returns Promise<IHFLocation>

  • Watch the current user position. And returns watcher ID.

    Returns

    watcher ID

    Parameters

    • success: Function

      callback function that takes a IHFLocation object as an input parameter.

    • error: Function

      optional callback function that takes a PositionError object as an input parameter.

    • __namedParameters: Object

    Returns number

Generated using TypeDoc