OpenStreetMap

From TNG_Wiki
Revision as of 05:22, 30 May 2018 by XerxX (talk | contribs) (New page / mod)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Restricted Downloads of OpenStreetMap are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox


Caution


OpenStreetMap BETA
Summary Replaces the Google maps with OpenStreetMaps
Validation The mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 30 May 2018
Download link for
TNG 12.0
OpenStreetMap mod v12.0.0.beta1
for
TNG 11.0
OpenStreetMap mod v11.1.2.beta1
for
TNG 10.1.3
OpenStreetMap mod v10.0.0.beta1
Download stats Click For Download Stats
Author(s) Erik Hoppe
Homepage OpenStreetMap BETA (this page)
Mod Support NOTE: TNG Community Forum: Replace Google with OSM
Contact Developer NOTE: TNG Community Forum: Replace Google with OSM
Latest Mod 10.0.0.beta1 for TNG v10.?
11.1.2.beta1 for TNG v11.?
12.0.0.beta1 for TNG v12
Min TNG V 10.?
Max TNG V 12+
Files modified
Related Mods
{{{related_mods}}}
Notes
Author of TNG Colouring Book
Mods by me: At my user page.


Purpose of the mod

CAUTION!
This is a BETA TEST version!

Read everything about the mod BEFORE you try to install it:

Click here: TNG Community Forum: Replace Google with OSM


Post your questions - and solutions - in the forum for the benefit of the whole community.
Everyone can participate in the development and testing: We are in a hurry!
Today May 30 it's only 12 days left until the maps don't work!
(If you don't give G**gle your CC info...)



Developer

This mod was developed by Erik Hoppe


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)


Installation

  1. Click on the download link, shown in the summary in the upper right corner of the page.
  2. Un-zip the file and you will find the .cfg file, the accompanying folder AND...
  3. The IMPORTANT READ-ME FILE - read it BEFORE you try to install!
  4. Move/copy/FTP the .cfg file to the mods folder of your TNG system.
  5. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.


In the event of a problem

Conflicts

This mod conflicts with Person Map mod and Mobile Ind Page Person Map mod can NOT be installed!
There is a subsitute for those mods (a lot simpler but it works) built into this mod.

Custom Text Additions

The config file includes the English language custom text.
There is a Swedish translations if it is present in your TNG system.
For other languages you can modify the config file to add the custom text or manually add to whatever language you like.

(English custom text for reference)


$text['osmclosemap'] = "Close Map";
$text['osmopenmap'] = "Open Map";
$text['unknownplace'] = "Unknown Place!";


Uninstalling the mod

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

  1. click the Remove button to uninstall the mod and then
  2. click the Delete button to delete the config file from the mods folder.


Revision History

Version Date Description
10.0.0.beta1
11.1.2.beta1
12.0.0.beta1
30 May 2018 Introduction.


Visualization of this mod

See screenshots here:
TNG Community Forum: Replace Google with OSM

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:

URL User Note Mod-Version TNG-Version User-language
I will most certainly use this from June 11 2018 /Erik

TNG Modules Impacted

The following TNG Modules are modified, and should be backed up prior to installing this mod:

  • genlib.php
  • personlib.php
  • admin_editplace.php
  • admin_newplace.php
  • getperson.php
  • placesearch.php
  • headstones.php
  • showmap.php
  • search.php // v11 + 12
  • places.php // v11 + 12
  • places-oneletter.php // v11 + 12
  • places-all.php // v11 + 12
  • heatmap.php // v11 + 12
  • languages/English/cust_text.php
  • languages/English-UTF8/cust_text.php
  • languages/Swedish/cust_text.php (if present)
  • languages/Swedish-UTF8/cust_text.php (if present)