Purpose of the mod

This mod installs OpenStreetMap (OSM) maps, if you don't have a GoogleMap API key.

The benefit is that you don't have to register anywhere for anything.Simply Install, Empty your API key box, Save and it's done.

The downside is that OSM maps are in many cases not as detailed as Googlemaps, especially outside the more urban areas.I have added two maps that are more detailed re "rural roads" called ESRI World Street Map and ESRI World Topo Map. (See the Edit Options below)

NEW from mod version 4: Toggle your map with a Satellite view.See Alan Craxford's sample link in the Sites list below.

MOD Conflict

Developer

This mod was developed by Erik Hoppe
Several people were involved and I Thank You all - especially you who TESTED the mods. WIthout you, we wouldn't see this mod today.For TNG v10.1.3 Ken Roy and Alan Craxford kindly modified the v11 .cfgFor Mod v10.1.3.4+ Alan Craxford kindly provided the .cfg

Requirements

TNG version:

≥ 10.1.3

A working TNG installation.

A backup of all affected files (see the list below)

An installed current version of the Mod Manager (is already included in TNG)

Latitude and Longitude with decimal points (not decimal commas)

Installation

Click on the download link, shown in the summary in the upper right corner of the page.

Un-zip the file and you will find a folder. Open it.

Inside the folder you will find the .cfg file and the accompanying folder OpenStreetMap.X (X = current modversion)

Move/copy/FTP the .cfg file and the folder OpenStreetMap.X to the mods folder of your TNG system.

In the event of a problem

NOTE!Heatmaps may show a map only.This is a known problem as the data is read by a special interpretator and it is very sensitive about what characters there are in Place names, Person names and Notes.All problematic characters I have found have been taken care of but there may be some I don't know.Please contact me through TNG Community Forums: TNG Specific - Code Discussion - Addons if you encounter this.

When you open the map (Add new place) it is pointed to Lat = 0, Long = 0 (if that's your Starting Latitude and Longitude in Administration --> Setup --> Map Settings.(If you edit a place it is of course pointed to).The map used below is EWSM (Esri World Street Map).

Click the magnifying glass to get a textbox: || Enter a (partial) placename - local name prefered but English often works (img: Jonkoping - Jönköping) ||

Press Enter to receive a reply. Nothing happens? If there is no reply, there is no sign of it. No message, nothing...
If you do get a reply you will have a list of suggestions (incl such characters as "ö"):

Click a suggestion and the map zooms in to the place and Latitude, Longitude and Zoom will be placed in their respective boxes:It seems to me that it is the "tip" of the pop-up and the "hole" in the custom map-pin that are pointing to the target/coordinates - not the "tip" of the map-pin.

To really pin-point a location: Close the pop-up and click the Satellite View icon (top right)

You have to provide the Level yourself. You also have to add the Place Name to the box at the top. There is a Modmanager Edit option to have the name copied automatically.

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

click the Remove button to uninstall the mod and then

click the Delete button to delete the config file from the mods folder.

Revision History

Version

Date

Description

12.3.0.6a

30 Mar 2020

Fix error in v12.3.0.6 that was not loading the OpenLayer css and therefore not showing the zoom option on the map

12.3.0.6

15 Mar 2020

Updated for TNG 12.3 and also includes fix for deprecated each() function provided by Michel Kirsch for googlemaplib.php

11.1.2.5a

13 Dec 2018

Heatmaps did not show for TNG 11. Thanks to Roeland V for the alert.

10.1.3.511.1.2.512.0.0.5

2 Dec 2018

One Map setting displayed a blank square for the map, but did show pins in the Event table and the Legend. Thanks to Patricia Hobbs for the alert.An annoying out-zoom when toggled at zoom > 16 removed.