| The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]
If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:
[See details in the TNGv12 Change Impacts Article][Hide the instructions]
|Downloads of Ancestor map 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|
|Summary||Shows a Google map of birth places of the individual's ancestors.|
|Validation||Latest mod is XHTML compliant.|
|Mod Updated||26 Sep 2020|
ancestors map 1 add map v18.104.22.168a.zip for
[Show older versions]
ancestors map 1 add map v22.214.171.124.zip for
ancestors map 1 add map v126.96.36.199.zip for
[Hide old versions]
|Download stats||View download statistics|
TNG v8 updated by Bryan S. Larson
TNG V8.1.2, V9, V10, V10.1 updated by Roger Moffat
V11 updated by Ken Roy
V12 updated by Erik Hoppe and Ken Roy
|Homepage||Ancestor map (This page)|
|Mod Support||TNG Community Forums|
|Latest Mod||188.8.131.52 for TNG 13+|
184.108.40.206a for TNG 12+
220.127.116.11 for TNG 11.0.2
18.104.22.168 for TNG 11.0
10.1.0.2 for TNG 10.1
10.0.0.1 for TNG 10
22.214.171.124 for TNG 9.0
8.1.2 for TNG 8.1.2
8.1.1 for other versions of TNG 8
|Min TNG V||8.0.0|
|Max TNG V||13+|
mappedigree.php (new file)
If using multiple languages, please add the custom text for your other languages
Purpose of the Mod
This mod was developed from a discussion on Adding a map to Ancestry for an individual, Putting all ancestors for an individual on a google map in this TNG Community Forum entry It will add a new link to the Ancestors tab on a getperson.php page that shows a map with all of the places (that have been geocoded) for that person's ancestors.
If you have installed one of the Google Map mods that adds Placelevels, you should download and install one of the supplemental mods shown here.
|DO NOT install the supplemental mods unless you are also running the mod that is a prerequisite|
|TNG version:||≥ 12.0.0|
This mod was developed by Developer is Réal Charlebois See Adding a map to Ancestry for an individual on the TNG Community Forums
TNG8 version by Bryan S. Larson
Config file for TNG V8.1.2 updated by Roger Moffat to work correctly, and have the variables quoted.
Mod was updated for TNG V9 by Roger Moffat to follow the Living and Private access rules as well as quoted variables from the TNG 8 Revision and tweaks for validation.
Mod was updated for TNG V10 by Roger Moffat to handle changes in innermenu caused by the addition of the Vertical Ancestor Chart to TNG. Version 10.0.0.1 includes fixes to the Privacy logic provided by Martin Pannier.
Mod was updated for TNG V10.1 by Roger Moffat to handle change from mysql_ queries to tng_ queries in TNG 10.1.
V126.96.36.199 was updated by Michel Kirsch to allow selection of events and to add an Edit option to display Generation numbers relative to 0 or to 1.
For the maps to work you must have geo-coded locations in your tree!
|TNG version:||≤ 8.1.0|
- mappedigree.php is still coded in TNG V7 style without the quoted variables used in TNG V8 (fixed in v188.8.131.52 and later)
- pins in Event table are not numbered
- pins in Event table are shown with a border (See sites using the mod for visualization of these last 2 issues)
- currently does not support the Google_Maps_-_More_Place_Levels_Mod
- The ancestors_map_placelevel_v8.1.0.zip file can be installed on top of the Ancestor Map mod to address the previous 3 issues shown above. Note that if you don't have the Google_Maps_-_More_Place_Levels_Mod installed, you should rework the ancestors_map_placelevel config file and only use location 2 to fix the other two issues.
|TNG version:||≥ 8.1.2|
Ancestors_map_v8.1.3.cfg.zip file linked above
|TNG version:||≥ 9.0|
- a working TNG installation with Mod Manager
- Geo-coded locations
- Latitude and longitude values must use decimals
|V184.108.40.206||26 September 2020||Updated by|
|V220.127.116.11||25 August 2020|| Updated by Ken Roy and Robin Richmond to include inner menu links
|V18.104.22.168a||1 Nov 2019||Updated by|
|V22.214.171.124||23 Aug 2019|| Updated by
|V126.96.36.199||30 Jun 2019|| Updated to fix several syntax errors on PHP 7.2.6 Version supports both Google Maps and OpenStreetMap|
Updated add-on mods to work with the Ancestor Map v188.8.131.52 version posted on 27 Jun 2018
|V184.108.40.206||10 Jun 2018||Updated by Erik Hoppe for TNG v12 to support both Google Maps and OpenStreetMap|
|V220.127.116.11||1 May 2018||Updated for TNG v12 to use the %note to show PreReqs of associated mods. No other code changes|
|V18.104.22.168||23 Sep 2016||Updated for TNG v11.0.2 to fix innermenu links and support https|
|V22.214.171.124||9 Sep 2016||Updated for TNG v11.0.2 and fixed link to Fan Chart page|
|V126.96.36.199||9 Sep 2016||Fixed link to Fan Chart page|
|V188.8.131.52||16 Apr 2016||Added link to Ancestors Map on TNG v11 Fan Chart page, and tidied up the placement of the Map link in the TNG innermenu so that it's the same on all the TNG pages, and comes before the PDF tab.|
|V10.1.0.2||14 Oct 2015||Fix for extended characters under ISO-8859-1 noted by Erik.|
|V10.1.0.1||25 Feb 2015||Minor fixes for http/https switching in the links generated.|
|V10.1.0.0||11 Jan 2015||Updated for compatibility with TNG 10.1.|
|V10.0.0.1||9 May 2014||Fixes for Privacy Logic provided by Martin Pannier.|
|V10.0.0.0||12 February 2014||Updated for compatibility with TNG 10.0.0.|
|V184.108.40.206||23 April 2012|| Minor bug fix.|
Another attempt at fixing issue where sometimes "%A0" would display in a place name.
|V220.127.116.11||23 April 2012|| Minor bug fix.|
Corrected an issue where the map would not show if you had set your site to NOT assign a tree to places.
|V18.104.22.168||21 April 2012|| Minor Update.|
Added PDF link to be able to create a PDF Pedigree chart from this page - NOTE: It's not a PDF of the map page, but just the regular PDF as created from other pages.
|V22.214.171.124||13 April 2012|| Minor bug fix.|
Corrected issue where people with certain prefixes in their names like "von" or "de" were being displayed with "%A0" in the name in the balloon on the map and in the table to the right of the map, instead of a space after the prefix. Also corrected an issue that stopped the map displaying if there was an apostrophe in a person's name.
|V126.96.36.199||21 March 2012|| Minor bug fix.|
Corrected issue where Map would not show if the TNG Admin setting for Miscellaneous ------> "Individuals start with:" was set to "Personal information only" preventing the map from showing at all.
|V188.8.131.52||8 March 2012|| Minor bug fix.|
Language Mods added for Dutch, French and Spanish. They work for all versions though!
|V184.108.40.206||2 February 2012||Updated by Roger Moffat for TNG 9.0.0. This update suppresses ancestors that are marked Living and / or Private if the user is not allowed to view Living and / or Private for that Branch of the Tree|
|V8.1.3||20 Jan 2012||Updated by Roger Moffat for TNG 8.1.2|
|V8.1.2||27 April 2011||Updated by Roger Moffat for TNG 8.1.2|
|V8.1.1||5 August 2010||Updated by Ken Roy to create mappedigree.php in the config file and include $text for English-UTF8. Updated mappedigree.php to obtain mapconfig.php using the $subroot variable|
|V8.1.0||27 June 2010||original TNG V8 config file release by Bryan S. Larson|
Automated Installation Requirements
- Remove previously installed version
- Download the appropriate zip file from the Mod Summary in the upper right hand corner
- Unzip the downloaded zip file to your mods folder in TNG V8 and above
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the ancestors_map_.cfg
- Delete previous version
If you have other Goggle Map mods installed, you may need to install additional fixes to the Ancestor Map mod
Custom Text Additions
Note that config file only includes the English language changes, so if you support multiple languages you will need add these lines to each of your language cust_text.php files with appropriate translations of course.
// added for use with mappedigree file $text['ancestorsmap'] = "Map";
For example, you would add to the French/cust_text.php
// added for use with mappedigree file $text['ancestorsmap'] = "Carte";
Or you can use the language mods in the summary in the upper right corner of this page to add Dutch, French or Spanish custom text additions. Procedure: download, unzip to TNG mods folder, install using Mod Manager. Note that these language mods work for all versions!
- 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 greatly simplifies this process.
In the event of a problem
- Try using the Mod Manager Remove capability
- all should be well now
Visualization of this mod
Sites using this mod
If you download and install this mod, please add your TNG site to the table below