This project is not covered by Drupal’s security advisory policy.

Addressfield autocomplete

Provides a hook into google maps autocomplete API. Implements a new widget which utilises the addressfield autocomplete functionality and provides an easy to use single box for entering an address.

It also allows you to target addresses within specific countries and search for full addresses, establishments or just cities within those countries.

Dependencies

Drupal modules

3rd party javascript

Installation

  1. Make sure you have installed addressfield, GMap and libraries.
  2. Download and install the addressfield autocomplete module.
  3. Download the geocomplete plugin from the following location: http://ubilabs.github.io/geocomplete/. You can also download the plugin via drush using the command drush geocomplete-plugin.
  4. Extract the plugin to your libraries directory and rename the folder geocomplete. The default location should be sites/all/libraries/geocomplete.
  5. Navigate to manage fields inside a content type.
  6. Create or edit a new or existing address field, change the widget to Address autocomplete.
  7. Adjust the instance settings of the field to suit your needs.

Notes

Some of the maps settings are inherited from the GMap module settings page. These include: width, height, center, zoom and map type. The reset of the settings are configurable through the instance settings form for that field.

Project information

Releases