Addressfield Autocomplete
Component ID
2126989
Component name
Addressfield Autocomplete
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
12574
Component created
Component changed
Component body
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
- Make sure you have installed addressfield, GMap and libraries.
- Download and install the addressfield autocomplete module.
- 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.
- Extract the plugin to your libraries directory and rename the folder geocomplete. The default location should be sites/all/libraries/geocomplete.
- Navigate to manage fields inside a content type.
- Create or edit a new or existing address field, change the widget to Address autocomplete.
- 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.
