This is more of an HTML/CSS issue and not really a maps issue. Many of the examples depend on the browser rendering the page in quirks mode (without a doctype). This allows the "height: 100%" styles to work without any additional CSS or JavaScript. There are several threads that address this in this group both from a CSS only perspective and by using JavaScript. The table example is also closely related as the table has no height or width set.
Chad Killingsworth On Mar 16, 11:18 am, SteveB <[email protected]> wrote: > Using code from the v3 tutorial at: > http://code.google.com/apis/maps/documentation/v3/introduction.html > Using Firefox 3.6, but same failures occur with Safari. > > I've placed three examples on my site. Here are three links: > > First the code exactly as given in the tutorial. This one works. > http://inkbytepress.com/static/maptut0.html > > Second, same code, but with the "map_canvas" DIV contained > inside a table. > http://inkbytepress.com/static/maptut1.html > > Third the same code, but with the tutorial code prefixed with > a DOCTYPE specifier. > http://inkbytepress.com/static/maptut2.html > > Both 2nd and 3rd examples fail to display the map. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
