Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module adds a geocoding widget to address fields, allowing you to automatically populate a geofield with location data. It geocodes addresses using AJAX and can either automatically position the first resolved address or allow manual selection.

Drupal Module to geocode address fields using ajax.

INTRODUCTION

This will add a new widget for address fields to be able to geocode the address and
populate any geofield field, doing it with ajax.

REQUIREMENTS

This module requires the following modules enabled in Drupal:

  • Geofield
  • Geocode
  • Address

This module also requires a map provider.

INSTALLATION

Install as you would normally install a contributed Drupal module. Visit Drupal's documentation for further information.

HOW IT WORKS

To get a correctly function it needs the address field and geofield field.
It takes the values of that fields Country,Street Address, Postal Code and City and formats
the string to ${add1} ${add2}, ${locality}, ${postal_code} ${country} to be seek by geocode module through ajax using the provider that's set in geocode configuration.
It can position the first resolved address automatically in geofield widget (if checkbox is checked) or do it manually when a select option is picked.

CONFIGURATION

Once we have installed the module we must make a little configuration so that it works correctly.

  • Configure the form display » Address Widget » Choose Address geocoder value » Set field target settings with your geofield map value(machine name).
  • Edit Geofield » manage fields » Geocode » Geocode method » Click geocode from an existing field and choose your address field.
  • Pick "single to multiple" for "Multi-value input handling".
  • Finally select your Geocoder providers.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
2.0.0-alpha7 Pre-release 9–11 Mar 11, 2025
2.0.0-alpha6 Pre-release 9–11 Mar 11, 2025
2.0.0-alpha5 Pre-release 9–11 Feb 26, 2025