drupal-module geolocation_nominatim
Temp Home for A Nominatim based geocoder and widget for geolocation.
markaspot/geolocation_nominatim
Temp Home for A Nominatim based geocoder and widget for geolocation.
- Thursday, December 14, 2017
- by markaspot
- Repository
- 1 Watchers
- 0 Stars
- 740 Installations
- JavaScript
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 1 % Grown
Geolocation Nominatim Geocoder Wiget
Provides a Open Street Map - Nominatim geocoder with a
Leaflet map widget for Geolocation fields., (*1)
Installation
-
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, (*4)
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., (*5)
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., (*6)
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., (*7)