Rossko is absolutely correct.

If you want to serve pages as XHTML, you need to load the API
asynchronously:
http://code.google.com/apis/maps/documentation/javascript/basics.html#Async

I would personally recommend using HTML, not XHTML. Some browsers have
issues with rendering pages with content type application/xml+xhtml:
http://www.w3.org/People/mimasa/test/xhtml/media-types/results
http://www.w3.org/2003/01/xhtml-mimetype/content-negotiation

Many more browsers support HTML5.

Chris

-- 
http://twitter.com/broady

-- 
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.

Reply via email to