AddressGeocoder

AddressGeocoder

new AddressGeocoder()

Source:

Determine lat and long coordinates for a given address. If TableStructure has address column, adds two new columns: lat and long.

Methods

bulkConvertAddresses(tableStructureopt, corsProxyopt) → {Promise}

Source:

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