With the Google Maps Address Autocomplete extension for ez Form Calculator, you can offer your visitors the intuitive type-ahead-search behavior. Additionally, you can calculate the distance between two addresses.
In order to use this extension, you will need an API key from the Google Developer Console for the following services:
- Directions API
- Distance Matrix API
- Places API
Address & Distance Extension
Address autocomplete feature
Distance calculation feature
Show route feature
Initial setup of the plugin
12 months support
(API keys will be provided by the customer)
Address Autocomplete and Distance Calculation Example
In this example, the distance between the Weserstadion (SV Werder Bremen) and the Volksparkstadion (Hamburger SV) is measured. The calculation element retrieves the distance value and multiplies it by 2. Note that the distance value is returned in meters so the value is divided by 1000.