Difference between revisions of "Google Maps - Change Pin Legend Mod"
Jump to navigation
Jump to search
Line 82: | Line 82: | ||
This mod can be seen in effect here | This mod can be seen in effect here | ||
* [http://roger.lisaandroger.com/getperson.php?personID=I16&tree=Roger William Moffat b. 25 MAY 1829 Blackerstone, Longformacus, Berwickshire, Scotland d. 8 SEP 1895 Balclutha, Otago, New Zealand: Roger's Online Genealogy] | * [http://roger.lisaandroger.com/getperson.php?personID=I16&tree=Roger William Moffat b. 25 MAY 1829 Blackerstone, Longformacus, Berwickshire, Scotland d. 8 SEP 1895 Balclutha, Otago, New Zealand: Roger's Online Genealogy] | ||
+ | |||
+ | * [http://www.maarelweb.nl/stamboom/surnames100.php | ||
+ | Van der Maarel Genealogy] | ||
== TNG modules Involved == | == TNG modules Involved == |
Revision as of 07:15, 2 February 2013
Change Pin Legend Mod | ||||
---|---|---|---|---|
Summary | Changes the layout of the pins in the Pin Legend below the Google maps on getperson.php | |||
Validation | This mod is XHTML compliant. | |||
Mod Updated | {{{mod_last_update}}} | |||
Download link | For
TNG 9 Google maps Pin Legend For
TNG 8 Google maps Pin Legend For
TNG Google maps Pin Legend TNG 7 | |||
Download stats | {{{download_stats}}} | |||
Author(s) | Roger Moffat | |||
Homepage | Google Maps - Change Pin Legend Mod | |||
Mod Support | TNG Forums | |||
Contact Developer | ||||
Latest Mod | 9.0.0.1 for TNG 9 8.1.0 for TNG 8 1.1 for TNG 7 | |||
Min TNG V | 7.0.0 | |||
Max TNG V | 9.x.x | |||
Files modified | ||||
Related Mods | ||||
Notes | You can NOT have both this Mod and the Google Maps - More Place Levels Mod installed at the same time |
Purpose of the mod
This mod changes the layout of the pins under the Google map on getperson.php from [pin] [= text] [pin] [= text] [pin] [= text] etc to a row of pins with the text superimposed on the bottom of the pin.
Developer
This mod was developed by Roger Moffat
Requirements
- A working TNG installation. Automated installation has been tested on TNG Version 7.1.x and TNG 8.0.0.
- A backup of the TNG modules involved - see below.
- An installed current version of the Mod Manager (note this is built into TNG 8).
Automated Installation
TNG 7
- Download the file from TNG Google maps Pin Legend TNG 7
- Extract the downloaded config file into your admin/mod_folder folder. You should end up with 1 file (google_maps_change_pin_legend_layout.cfg) and a folder (LiberationSans-Regular) that contains a font needed for this mod.
- If you have already installed the Google Maps - More Place Levels Mod you probably don't want to use the Google Maps - Change Pin Legend Mod which uses less place levels - if you have made any changes to your place levels, some of them will be unused if the Google Maps - Change Pin Legend Mod mod is installed.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the google_maps_change_pin_legend_layout.cfg config file.
TNG 8
- Download the file from TNG Google maps Pin Legend TNG 8
- Extract the downloaded config file into your mods. You should end up with 1 files - gmaps_change_pin_legend_V8.y.z.cfg and a folder containg a TrueType font needed for this mod.
- If you have already installed the Google Maps - More Place Levels Mod you probably don't want to use the Google Maps - Change Pin Legend Mod which uses less place levels - if you have made any changes to your place levels, some of them will be unused if the Google Maps - Change Pin Legend Mod mod is installed.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the gmaps_change_pin_legend_V8.y.z.cfg config file.
Even More Pins
If you want to change the pin colours, a complete set of pins, and a handy contact sheet that gives the number and colour matches for all 216 pins can be downloaded here TNG Map Pins - Complete Set
In the event of a problem
- Try using the Mod Manager Remove capability
- Or copy the backup versions getperson.php back to your site.
Visualization of this mod
Turns this (TNG 7):
or this (TNG8):
into this
the pins in less horizontal space.
Side effects
- Happiness that your Maps are much more attractive :-)
- As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented. (Using the Mod Manager to remove the mod before the upgrade and re-installing the mod after the upgrade greatly simplifies this process).
TNG User sites using this mod
This mod can be seen in effect here
Van der Maarel Genealogy]
TNG modules Involved
In TNG 8 this mod
- modifies existing TNG file getperson.php
- adds a script google_text_marker.php that superimposes a text string on the bottom of the image of a pin
- installs a TrueType font - LiberationSans-Regular - that is used to put the text on the pins.
In TNG 7 this mod
- modifies existing TNG file getperson.php
- adds script googlemaps/text_marker.php that superimposes a text string on the bottom of the image of a pin
- installs a TrueType font - LiberationSans-Regular - that is used to put the text on the pins.