This class manage the geolocation
See theGeoLocator for the one and only one instance of this class
The status of the geolocation
Start or stop the geolocatiion, depending of the status
The current status of the geoLocator.
The id returned by the Geolocation.watchPosition ( ) method
Stop the geolocation because the user don't accept the geolocation or the geolocation is disabled on the device
Name | Type | Description |
---|---|---|
positionError | GeolocationPositionError | See GeolocationPositionError on mdn |
Send an event to show the current position on the map
Name | Type | Description |
---|---|---|
position | GeolocationPosition | A JS GeolocationPosition object |