On 21 January 2012 16:04, Frank Natoli <[email protected]> wrote: > > There are a lot of comments on the web suggesting that Google Maps are not > compatible with XHTML because they make use of "document.write" which is > said to not be incorporated into the XHTML5 DOM standard. I don't know if > this is true, but I do know that I can't get Google Maps to function in an > XHTML5 environment and there is a prominent manufacturer who demands such > compliance.
The standard script tag doesn't work, because of "document.write". You need the asynchronous loader. http://code.google.com/apis/maps/documentation/javascript/tutorial.html#Loading_the_Maps_API For why your particular code isn't working, you really should post a link, not a code snippet. -- 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.
