Provides functionalities to use the geolocation API.
- Source:
Methods
(static) getGeolocation(command_url, command_id)
Retrieve latitude/longitude using the geolocation API
Parameters:
Name | Type | Description |
---|---|---|
command_url |
||
command_id |
- Source:
(static) getOpenStreetMapAddress(command_url, command_id, latitude, longitude)
Given latitude/longitude retrieves exact street position of the zombie
Parameters:
Name | Type | Description |
---|---|---|
command_url |
||
command_id |
||
latitude |
||
longitude |
- Source:
(static) isGeolocationEnabled() → {boolean}
Check if browser supports the geolocation API
- Source:
Returns:
- Type
- boolean