Sorry, the location of the screenshot is http://Google-Maps-API.googlegroups.com/web/PopupCroppedMap.png?gda=C1Og6EUAAAD-x1GSGAd0QzufvuB-5ECSkXdEsE1Aya5sRdP9vc3S45blb1vbn9z_GK_kWJAN4AtzlqnWZQD3y6jZqCMfSFQ6Gu1iLHeqhw4ZZRj3RjJ_-A&gsc=Pd82WSEAAADDEUG-Xg0JbXPTxh9iYOI1lLbR1Az1SPmTJzFYBnt7LkzfKN-m9S9niuHrq-IEXAE, I didn't realize that the gda parameter is required in the link
On Aug 6, 1:40 pm, Alex Savitsky <[email protected]> wrote: > Hi, > > For some reason, whenever I try to display the map in a pop-up div > (actually, just a hidden div that's shown on a link click), the map > display grey areas for some squares (http://google-maps- > api.googlegroups.com/web/PopupCroppedMap.png). This only happens in > Firefox, IE versions 6 to 8 work fine. > > The test page is practically a copy of Google sample code, with the > only addition of a link that toggles the visibility of the map div: > > <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/ > TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="content-type" content="text/html; charset=utf-8"/> > <title>Google Maps JavaScript API Example</title> > <script type="text/javascript" src="http://www.google.com/jsapi? > key=ABQIAAAAREQh3zS7ZSXf9Pao93QBHhTwM0brOpm- > All5BF6PoaKBxRWWERTBsnrXd_HY-la3hSehHEEAfjzmJA"></script> > <script type="text/javascript"> > google.load("jquery", "1"); > google.load("maps", "2.x"); > > // Call this function when the page has been loaded > function initialize() { > var map = new google.maps.Map2(document.getElementById("map")); > map.setCenter(new google.maps.LatLng(37.4419, -122.1419), 13); > map.setUIToDefault();} > > google.setOnLoadCallback(initialize); > > function toggle() { > $("#map").toggle();} > > </script> > </head> > <body> > <a href="javascript:toggle()">Show Map</a> > <div id="map" style="width: 500px; height: 300px; display: none;"></ > div> > </body> > </html> > > Code was also uploaded > tohttp://google-maps-api.googlegroups.com/web/testGMPopup.html > > I'm inclined to think this is a bug, but maybe there's a workaround? > > Thanks, > > Alex --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
