On Nov 9, 6:35 pm, xelawho <[email protected]> wrote:
> > It looks to me like you have a "zero size div" problem in IE (IE is
> > reporting zero for the size of the map div when the map object is
> > being constructed).
>
> > It looks like you have invalid 
> > html:http://validator.w3.org/check?uri=http%3A%2F%2Fwww.xelawho.com%2Fmap%...
>
> > You need to make sure all the elements are closed correctly (most of
> > the other errors don't matter).
>
> wow. that is a lot of errors. amazing that the page loads at all. I
> fixed the ones that I could without messing the whole page up, but I'm
> intrigued by the map div size. Doesn't:
> <div id="map" style="align: top; width: 830px; height: 400px;"></div>
>
> set the size for the map div?

It should, but this:
      // create the map
     var map = new GMap2(document.getElementById("map"), {size: new
GSize(830,400)});

which tells the API what size to make the map, fixes it for me on a
local version, so apparently it doesn't.

>
> anyway... I think it may be something else - the map was loading fine
> until I added a whole stack of polygons to the xml file...

Which just adds a delay to the process that is probably what exposed
the problem.

  -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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