On May 5, 1:55 pm, jim <[email protected]> wrote:
> Sorry for the dumbo question.
>
> This map:http://cpredurham.org.uk/fooddata-map-details.php?site=43
>
> Displays fine in Firefox 3, using WinXP OS.
>
> If I view it in IE6 or IE7, on XP, the map controls appear, but I can
> only see a green background to the map, and no map itself.
>
> I wonder if anyone might be able to advise about what silly and
> foolish mistake I might have made to cause this?
>
> Any advice much appreciated.
You have more than one element with id="map" (at least where IE is
concerned):
<a name="map"></a>
<div id="map" style="width: 560px; height: 600px"></div>
id and name are 2 different names for the same property. I changed
div id="map" to div id="gmap" and fixed the line that initialized the
GMap2 object:
var map = new GMap2(document.getElementById("gmap"));
and it fixed the problem...
-- Larry
>
> Thanks
>
> --
> 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
> athttp://groups.google.com/group/google-maps-api?hl=en.
--
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.