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

geo field

In progress.
Add button autosuggestion add to ckeditor5. It will embed google map
address suggetion. Seek Developper for more options map: like apple map, bing map, ...

For developper
- 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 ☕.

Supporting organizations: 
AttachmentSize
Capture d'écran 2023-10-29 183013.png156.68 KB

Project information

Releases