I finally managed to work out how to get those Google Maps to work. XHTML doesn't seem to have reached Google yet so I cannot use it when I want a map. Too bad. (FTR: Don't ever try to deliver web pages with any other content type than text/html. You only lose document checking, but you get maps - great deal, isn't it?)
Anyway, there's another compatibility problem remaining. When I touch Object.prototype anywhere on my page, like some JavaScript frameworks do, the map breaks entirely. There's only a grey box left and an obfuscated error in Google's compressed JavaScript code. Some f.e is not defined, some e is null, formulation depending on the browser. Tested with Firefox, IE, Opera and Chrome. Here's a simple test page: http://unclassified.de/tmp/maptest/ You can download it and comment out that part of the script to see that it works then. Why does the Maps code break when I put some function somewhere else? I can even name my function what I want and it won't work! -- 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.
