AddressField from Geofield

Categories

Component ID

2160073

Component name

AddressField from Geofield

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

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