geocode | Returns a list of addresses for the given latitude and longitude.
latitude (Double)
longitude (Double)
maxResults (Integer) maximum number of results (default=1)
returns: (List) A list of addresses.
|
getLastKnownLocation | Returns the last known location of the device.
returns: (Map) A map of location information by provider.
|
locationProviderEnabled | Ask if provider is enabled
provider (String) Name of location provider
|
locationProviders | Returns availables providers on the phone
|
readLocation | Returns the current location as indicated by all available providers.
returns: (Map) A map of location information by provider.
|
startLocating | Starts collecting location data.
minDistance (Integer) minimum time between updates in milliseconds (default=60000)
minUpdateDistance (Integer) minimum distance between updates in meters (default=30)
|
stopLocating | Stops collecting location data.
|