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

NameTypeDescription
options Hash

https://developers.google.com/maps/documentation/geocoding/#geocoding

Returns

TypeDescription
HttpPromise

Future object