GnafAddressGeocoder

GnafAddressGeocoder

new GnafAddressGeocoder()

Source:

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.

Extends

Methods

bulkConvertAddresses(tableStructureopt, corsProxyopt) → {Promise}

Source:
Overrides:

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

Returns:

Promise that resolves to an BulkAddressGeocoderResult object.

Type
Promise