Map displays fine in browser window, but on modal window, using
exactly the same code it gives a "GMap2 is undefined" Javascript error
in IE, and the map box is blank. I'm using jquery.simplemodal.js
library. The pages (including modal content) are generated by JSP.
Following is the code snippet that gave problem:

     function loadStoreDetail() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
         . . . . . . .
      }else{
        alert('Browser is not Google Maps compatible');
      }
    }

Any help is greatly appreciated!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to