new NominatimAPI($http, options)
Parameters:
Name | Type | Description |
---|---|---|
$http |
Object | angular $http service |
options |
Object | set by the provider to set the url |
- Source:
Methods
-
lookup(query)
-
http://nominatim.openstreetmap.org/lookup?osm_ids=R146656,W104393803,N240109189
Parameters:
Name Type Description query
Object/String http://wiki.openstreetmap.org/wiki/Nominatim Returns:
$http.get- Type
- Promise
-
reverse(query)
-
Parameters:
Name Type Description query
Object/String http://wiki.openstreetmap.org/wiki/Nominatim Returns:
$http.get- Type
- Promise
-
search(query)
-
Parameters:
Name Type Description query
Object/String http://wiki.openstreetmap.org/wiki/Nominatim Returns:
$http.get- Type
- Promise