GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
Google Maps Zoom Levels


https://support.genopro.com/Topic17572.aspx
Print Topic | Close Window

By Ian - Sunday, April 29, 2007
The parameters passed to Google differ between Individual and Place Index Reports.

hyperlink generated by Individual Report:-

<a href='checkGoogleMap("53.840028", "-1.700347", "Apperley Lane,Yorkshire,England", 1, 16,document.location,false);'>Display Google Map of this location (if available)</a>

Hyperlink generated by Place Index Report:-
<a href='checkGoogleMap("53.840028", "-1.700347", "Apperley Lane,Yorkshire,England", 16,"",false);'>Display Google Map of this location (if available)</a>

The zoom has been set at 16 and works except for Place Index which returns the world 3 times!

Ian

By genome - Sunday, April 29, 2007
Welcome to the forum Ian and thanks for reporting this. I wonder if anyone else has spotted it.

The place index link is missing the 'Map Type' parameter that I introduced in the last version. I'll add a fix to the next release but for now it can be corrected in a custom skin by changing line 1301 of Lang.vbs as follows

from
   Report.WriteFormattedLn "<a href='checkGoogleMap(""{&j}"", ""{&j}"", ""{&j}"", {},"""",false);'>{&t}</a>",p.Latitude, p.Longitude, strPlace, strZoom, Dic("gMapLink")
to
   strType=CustomTag(p, "Map.Google.Type")
   if strType = "" Then strType = g_strGoogleMapsType
   Report.WriteFormattedLn "<a href='checkGoogleMap(""{&j}"", ""{&j}"", ""{&j}"", {}, {},"""",false);'>{&t}</a>",p.Latitude, p.Longitude, strPlace, strType, strZoom, Dic("gMapLink")
By Ian - Sunday, April 29, 2007
Thanks Ron - now works perfectly. Thought I was going senile as sometimes my custom tag, changing the default zoom, worked and othertime I got the world 3 times.

Ian

By appleshaw - Friday, June 22, 2007
Another variation on zoom problems. When the map is first opened, zooming keeps the point of interest in the centre. If you enlarge the area, eg click on full size, then zooming moves the point off centre and you have to keep moving it back to the centre (unless you have managed to get it centred exactly).

Is this a Google Maps problem?
By appleshaw - Wednesday, June 27, 2007
This zoom problem (shift of centre of interest) still occurs in latest 2.0.0.6 with Firefox
By genome - Wednesday, June 27, 2007
Sorry appleshaw, I seems to have missed your original post on this issue. I think I have managed to fix the problem by grabbing the centre point before the resize of the frame and then resetting the centre afterwards. The attached script.js file can be used in a custom skin to apply this fix. Should work with either 2.0.0.5 or 2.0.0.6 as script.js did not change.
By appleshaw - Wednesday, June 27, 2007
Thanks Ron. Fixed it
By GenoProSupport - Friday, June 29, 2007
If you download http://www.genopro.com/download/InstallGenoPro.2.0.0.6d.exe you will get the fix.