GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Map popup not appearing for individuals and families (fix)

Click to view RSS...
Author
Posted Friday, June 17, 2011 - Post #28583
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.1

Last Login: Thursday, June 2, 2022
Posts: 108, Visits: 1,280
Apologies this bug is entirely on me - I commented one of the necessary changes but was so busy commenting I didn't insert the actual change. doh!

I should have included this modified function in the util.vbs (the critical addition being the inclusion of onclick='showPopUpFrame("""");')


Function StrHtmlImgMap(o)
  If o.Session("gMap") = True Then ' i.e. there are some geo-tagged PLaces for this individual/family
     Dim strAlt
     strAlt=StrDicExt("AltgMap" & o.Class, "", "Display a Google Map showing geo-tagged places associated with this " & Dic(o.Class),"", "2010.12.10")
     StrHtmlImgMap = Util.FormatString(" <a href='gmap.htm?id={},classId={},name={}' target='popup' onclick='showPopUpFrame("""");'><img src='images/pin.gif' class='icon' alt='{&t}' title='{3&t}'/> </a> ", o.ID, o.Class, Replace(Util.UrlEncode(o),"+","%20"), strAlt) 'ShowPopup removed from google map initiation code, to allow map of all people to appear in _detail
  End If
End Function


btw - more than happy for you to drop my monika from the theme names Wink


Edited: Saturday, June 18, 2011 by HarryCaper



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!