new GnafAddressGeocoder()
Australia-only address converter, which uses the GNAF api to determine lat and long coordinates for a given address. If TableStructure has address column, adds two new columns: lat and long.
- Source:
Extends
Methods
bulkConvertAddresses(tableStructureopt, corsProxyopt) → {Promise}
Convert addresses in miniumum number of calls to the server. When the promise fulfills, the tableStructure has been updated with new lat and lon columns.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
tableStructure |
TableStructure |
<optional> |
A tableStructure that contains an address column. |
corsProxy |
CorsProxy |
<optional> |
Proxy for cross origin resource sharing |
- Overrides:
- Source:
Returns:
Promise that resolves to an BulkAddressGeocoderResult object.
- Type
- Promise