On Jul 5, 9:24 am, WolfShade <j...@theparadox.com> wrote: > > It isn't undefined - it's 100% of the width of the containing object. >
it's the height that's important in this case. Originally all the V3 examples had the map_canvas styled inline at 100% width and 100% height, but without a DOCTYPE, which worked on all browsers. The intention was to make the map fit the entire screen, which is particularly important on mobile devices, the original target of V3. However it's bad practice to leave out the DOCTYPE, and this issue was reported: http://code.google.com/p/gmaps-api-issues/issues/detail?id=1333 Recently all examples have been fixed to use external CSS instead of the inline 100% styles, for example: http://code.google.com/apis/maps/documentation/javascript/examples/map-simple.html the styles are: <style type="text/css"> html { height: 100% } body { height: 100%; margin: 0px; padding: 0px } #map_canvas { height: 100% } </style> ... -- 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 google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.