getCurrentPositionwatchPositionclearWatch| Method | Description |
|---|---|
| getCurrentPosition | a one-shot method for grabbing the user’s current location. |
| watchPosition | Returns the user’s current location but continues to monitor their position and keeps polling at regular intervals to see if their location has changed and invoke the appropriate callback every time the position changes. |
| clearWatch | This method ends the watchPosition method's monitoring of the current position. |
watchPosition and clearWatch are paired methods. watchPosition returns a unique identifier that is passed in to clearWatch to clear that particular watch.
