AddressField from Geofield widget configuration
AddressField from Geofield real use-case

Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This sandbox module creates a new widget for the Address Field. It allows populating an Address Field from a Geofield lat/lon pair, using Google Maps API Reverse Geocoding capability.

For now, only Google API is available for reverse geocoding. Other APIs (Bing, Yandex) could be added in the future.

Installation

Remember that this module has dependence on both Address Field and Geofield modules.

Usage

  • Create at least a Geofield and an Address Field on your content type.
  • Change the Address Field widget to "Populate from Geofield".
  • In the Address Field settings, chose which Geofield to populate from.

Special thanks to

- xandeadx for the usefull code I found in this sandbox:
https://drupal.org/sandbox/xandeadx/1999792

Project information