This add on, delivered in the form of a “Mod Manager” config file will add 4 more place levels to the sequence of place levels available when geocoding places, AND it changes the layout of the Pin Legend under the Google map on the getperson.php pages from [pin] [=text] [pin] [=text] [pin] [=text] to a row of pins with the text (dynamically) superimposed on the pin. You can see the differences in this image:
This mod makes use of the Mod Manager is built into TNG.
To install this, download the .zip file. Unzip it and place the contents (a file and a folder) into “mods” folder in your TNG folder, then install it from the Mod Manager in TNG Admin.
- Copy a TrueType font – LiberationSans-Regular.ttf – to your TNG folder
- copy 5 map pin files to the img folder
- create 1 new files in your TNG folder
- google_text_marker.php – a script which combines the text and pin image into a single image
- Make some changes to TNG files to accommodate the extra place levels. Files changed are listed on the TNG Wiki article
This change is language aware – ie it will write the description on the pin in whatever language people are viewing your site in.
If you want to change the place levels that you have previously assigned to your places without editing each place you can add this mod for TNG Google maps Update Place Levels to do this. More details, including instructions on how to update your tng_places table to use the extra place levels can be found on the TNG Wiki on this page.
Version 10.1.0.0 is released to comply with the changes to Mod Manager made by TNG 10.1
Version10.1.0.1 is released to allow for the various Mods that make parts of TNG more “responsive” for mobile devices.
Version 126.96.36.199 updates the Mod to TNG 12 changes, and adds translations provided by Pierre Landry for French, Spanish, Italian, and German to the UTF-8 language files.
Version 188.8.131.52 aligns the translated list of place levels with the English list.