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:
To use this you must be using the Mod Manager Add-on for TNG – see http://tng.lythgoes.net/wiki/index.php?title=Mod_Manager.
To install this download the .zip file. Unzip it and place the contents (6 files and a folder) into “mod_folder” folder in your TNG/admin folder, then install it from the Mod Manager in TNG Admin.
It will copy the font “LiberationSans-Regular.ttf” to the googlemaps folder, create a file “text_marker.php” in the googlemaps folder, copy 5 new pins to the googlemaps folder, copy 2 files to the admin folder and make some changes to several of the TNG files.
This change is language aware – ie it will write the description on the pin in whatever language people are viewing your site in.
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.
Update: Version 1.1 corrects an issue with the pins drawing correctly on 64 bit servers, and also adds a tweak for the relative positioning of the pin and the text. Thanks to Scotty Darling, Ken Roy and ICDSoft for their help sorting this out.
If you are looking for the TNG 8 version it is here