Also, I've noticed that this problem disappears if I use Google Maps v3. Unfortunately, I don't want to simply just switch over as I want to use EGeoXML for my KML rendering, at least until I find a better renderer. http://econym.org.uk/gmap/egeoxml.htm
On May 17, 11:42 am, Hung-Su <[email protected]> wrote: > Hello all! > > I want to make a google map that takes up the entire view of the > screen, but also have a header above it for navigation. So, the > div#header + div#map together will take 100% of the browser's > viewport. From what I can gather, this is only possible with some > javascript library (I tried using tables already, it worked, but only > with the browser in quirks mode by not setting a doctype, see > herehttp://oemd.zxq.net/ci/webmap.html), so I tried jQuery. jQuery will > create the divs I need in exactly the right size, but when I then > initialise the div as a Gmap2, this happens. > > http://oemd.zxq.net/screengrab.jpg > > Watch it in action herehttp://oemd.zxq.net/webmapbeta2.html > > So you can see, the red border shows that jQuery is making the div the > right size, but then google maps won't display correctly...does anyone > have any suggestions? I -know- I've seen this kind of thing done > successfully before though I don't know how. > > -- > 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.
