Angular service
GeoCoder source
Description
Provides defered/promise API service for Google Geocoder service
Methods
-
geocodeFunc (options) -> HttpPromise
-
Example
``` GeoCoder.geocode({address: 'the cn tower'}).then(function(result) { //... do something with result }); ```
Parameters
Name Type Description options Hash https://developers.google.com/maps/documentation/geocoding/#geocoding
Returns
Type Description HttpPromise Future object