|
|
Customers GenoPro version: 3.1.0.1
Last Login: Today @ 12:50 AM
Posts: 18,
Visits: 4,291
|
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
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 9 hours ago
Posts: 3,412,
Visits: 26,367
|
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")
|
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers GenoPro version: 3.1.0.1
Last Login: Today @ 12:50 AM
Posts: 18,
Visits: 4,291
|
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
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 11:38 PM
Posts: 1,584,
Visits: 31,821
|
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?
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 11:38 PM
Posts: 1,584,
Visits: 31,821
|
This zoom problem (shift of centre of interest) still occurs in latest 2.0.0.6 with Firefox
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 9 hours ago
Posts: 3,412,
Visits: 26,367
|
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.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 11:38 PM
Posts: 1,584,
Visits: 31,821
|
Thanks Ron. Fixed it
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Thursday, January 16, 2025
Posts: 4,886,
Visits: 22,775
|
|