Google Maps Zoom Levels
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Google Maps Zoom Levels Expand / Collapse
Author
Message
Post #17572 Posted 4/29/2007 8:19:48 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: Yesterday @ 7:45:52 AM
GenoPro Version: 2.0.1.4
Posts: 7, Visits: 984
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

Post #17575 Posted 4/29/2007 4:55:45 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 2:36:42 PM
GenoPro Version: 2.0.1.6
Posts: 1,093, Visits: 5,015
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"
Post #17576 Posted 4/29/2007 11:33:32 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: Yesterday @ 7:45:52 AM
GenoPro Version: 2.0.1.4
Posts: 7, Visits: 984
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

Post #18145 Posted 6/22/2007 5:03:27 PM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 2:07:03 PM
GenoPro Version: 2.0.1.6
Posts: 799, Visits: 6,900
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?
Post #18218 Posted 6/27/2007 7:16:52 AM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 2:07:03 PM
GenoPro Version: 2.0.1.6
Posts: 799, Visits: 6,900
This zoom problem (shift of centre of interest) still occurs in latest 2.0.0.6 with Firefox
Post #18224 Posted 6/27/2007 3:35:16 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 2:36:42 PM
GenoPro Version: 2.0.1.6
Posts: 1,093, Visits: 5,015
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"
Post #18227 Posted 6/27/2007 4:57:06 PM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 2:07:03 PM
GenoPro Version: 2.0.1.6
Posts: 799, Visits: 6,900
Thanks Ron. Fixed it
Post #18279 Posted 6/29/2007 1:44:15 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 2:29:20 PM
GenoPro Version: 2.0.1.6
Posts: 3,450, Visits: 14,359
If you download http://www.genopro.com/download/InstallGenoPro.2.0.0.6d.exe you will get the fix.

« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse