Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module provides automatic address suggestions for Drupal forms, offering enhanced features like country-specific suggestions, house number auto-addition, and integration with various mapping services and providers. It also includes a button for autosuggestion within CkEditor5 to embed maps.

The Address Suggestion module for Drupal is a robust alternative to the address autocomplete module, which is no longer actively maintained. Address Suggestion offers a set of enhanced features:

  • Automatic address suggestions with country specificity,
  • Configuration per Field widget (not in module settings)
  • Support field text plain, field address
  • Support CkEditor5
  • Get country site by default (more precise)
  • House number auto-addition
  • Integration with Geo fields or Geolocation field

This module is support with various address providers, such as

Formatter supports

  • Open street map (free - no api)
  • Esri ArcGIS (free - no api)
  • Google map iframe (no api required)
  • Mapbox
  • Map quest
  • Tom tom
  • Here

Button autosuggestion in ckeditor5. It will embed google map
. Seek Developper for more options map: like apple map, bing map, ...

For developper
- For each provider can set your custom endpoint. You can create your own api in the server to save the new address if request is not found in the database, you will call the provider's api to get it and you save the new address on your server. That will save your money
- You can create your plugin just create your_module/src/Plugin/AddressProvider/your_request_api.php
views exemples in module
- If you want add address suggestion for your custom textfield with #autocomplete
you can active button Address suggestion in CkEditor5 (ex: full_html), you will get token in configuration.


$form['custom_text_field'] = [
     '#type' => 'textfield',
     '#title' => $this->t('Autocomplete Address'),
     '#autocomplete_route_name' => 'address_suggestion.ckeditor',
     '#autocomplete_route_parameters' => ['format' => 'full_html'],
     '#autocomplete_query_parameters' => ['token' => $token],
....
];

If you find this module valuable, consider supporting the developer by buying me a ☕.

Activity

Total releases
1
First release
Jun 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
1.0.24 Stable Jun 20, 2025