On Jul 23, 10:48 pm, Ivan <[email protected]> wrote:
> Wow, I should definitely have seen that. Thanks guys. I've got this
> almost ready to go but I'm getting an error on my
> 'map.addOverlay(poly)' line that states the "object doesn't support
> this property or method" even though this is the same setup I see all
> the examples and tutorials using. Any ideas??

Your GMap2 variable that contains the map is local to your load
function.  In IE that global variable refers to the div with id="map",
which doesn't have an addOverlay method...

Make your map variable global:
var map;
function load() {
if (GBrowserIsCompatible()) {
    map = new GMap2(document.getElementById("map"));

And as everyone has been saying, your html is horribly invalid, may
"work", but...

  -- Larry


>
> Any help is appreciated. Thank you.

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