Provides geocoding through Google.
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
object |
Object with the following properties:
|
Members
readonly credit : Credit|undefined
Gets the credit to display after a geocode is performed. Typically this is used to credit
the geocoder service.
Methods
geocode(query) → Promise.<Array.<GeocoderService.Result>>
Get a list of possible locations that match a search string.
Name | Type | Description |
---|---|---|
query |
string | The query to be sent to the geocoder service |