On Jan 1, 7:19 pm, "[email protected]" <[email protected]> wrote: > code322 wrote: > > A map that is centered on a marker is off-center when placed inside an > > overlay div using scriptaculous. > > >http://www.code322.com/popup.php > > Search for "top left corner". Your issue is that the API can't > calculate the correct size for the div when it is hidden (it gets > zero). You need to either call map.checkResize() after the map is > displayed or use the optional "size" option in the GMap2 constructor. > > -- Larry
map.checkResize() did not do it for me, but the size option did. http://www.code322.com/popupfixed.php Thanks for your help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
