On Dec 2, 9:11 am, "warden [Andrew Leach - Maps API Guru]"
<[EMAIL PROTECTED]> wrote:
> On Dec 2, 5:03 pm, andreas <[EMAIL PROTECTED]> wrote:
>
> > Hello, I am using google maps (not the first time but) and it's the
> > first time that the map
>
> > area is not rendered (is not displayed) in the DIV element.
>
> > The only visible portion of the map is a small box 100 x 100 in
> > dimensions. The map should be 900 x 300 px and yet only the small box
> > i mentioned is displayed with the rest of the area being gray.
>
> > Any help appreciated!
>
> Well, given that we can't actually see what you're doing, I'll take a
> guess that you are creating your map in an element where *all* of its
> containing elements (like a table) aren't completely defined.

The other guess would be that the map is hidden when the page is first
displayed...
The checkResize or telling the map the size of the div in which it
will be displayed will work for that case.

>
> Either move your map script to just before </body>, ensuring that
> every element is correctly closed; or put it in a function in the head
> of the page and call it with a body onload event; or use
> map.checkResize() once the map is loaded.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
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