There would seem to be a problem with your Firefox and Safari
configurations. My Firefox provides a more meaningful error message than
MSIE (as usual): "map is nor defined".

[In this case the MSIE error message comes from the fact that it has the
non-standard behaviour of creating a global Javascript variable "map"
that references your <div id="map"> Element. Since you don't overwrite
that with your own global "map" variable, MSIE chokes on the fact that
HTML Elements have no .addOverlay() Method. In standards-compliant
browsers no global "map" variable exists.]


Try:

    var map;

    function load() {
        ...
        map = new GMap2(document.getElementById("map"));

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


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