OSM Error! No internet connection

steven
Posts: 132
Joined: Sun Oct 01, 2017 3:08 pm

OSM Error! No internet connection

Post by steven »

Before making changes, consider using the latest mod revision. This modification was corrected. Download at https://www.tng.lythgoes.net/wiki/index ... nStreetMap.
 
In August Nominatim changed the URL search link. So in order to fix the link, edit the ol-geocoder.js file with a UTF-8 editor and change:

"https://nominatim.openstreetmap.org/search/"

to

"https://nominatim.openstreetmap.org/search"

When the Open Street Map Mod is installed, the ol-geocoder.js file is copied to the TNG js folder. So to be safe it is best to replace both files, the one in the js folder and the other in the sub-folder openstreetmap_v13.1.0.8h which resides in the mod folder.

If you do not want to edit the file yourself, download the file below:

ol-geocoder.zip
You do not have the required permissions to view the files attached to this post.