This project is not covered by Drupal’s security advisory policy.

Provides a Open Street Map - Nominatim geocoder with a Leaflet map widget for Geolocation fields.

Installation

  1. Download and install geolocation and leaflet modules.

  2. Download https://github.com/perliedman/leaflet-control-geocoder/releases/tag/v1.5.1 and extract the download to /libraries/leaflet-control-geocoder/

  3. Enable Geolocation Nominatim

Usage

Set any geolocation field to use the Geolocation Nominatim widget. In the widget settings, set up the default map view (lat/lon and zoom) for the widget.

The field widget is a map with a search bar. Use the search bar to search for a location. You can also click on the map set the location, or drag the marker around.

Experimental features

There's an experimental feature to populate an Address field with the result of the geocode search (and also the results of a reverse geocode search when clicking on the map). The feature can be enabled in the widget settings. It likely doesn't work for all scenarios and countries. It won't work with multiple or multi-value address fields or other widgets than the default address widget.

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • chart icon14 sites report using this module
  • Created by Frando on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases