v3 doesn't have the utility classes like GXml, so the authors of the
College Finder have tried to code it themselves by using the DOMParser
class, but this isn't available in Microsoft browsers.

The lack of utility classes in v3 has been reported in
http://code.google.com/p/gmaps-api-issues/issues/detail?id=1364

and the suggested solution is to use code from
http://gmaps-samples-v3.googlecode.com/svn/trunk/xmlparsing/downloadurl.html
http://gmaps-samples-v3.googlecode.com/svn/trunk/xmlparsing/util.js

so you need to include the "util.js" in the html

<script src="util.js" type="text/javascript"></script>

and comment out the DOMParser line in SearchService.js

//  this.parser_ = new DOMParser();

and then use the xmlParse function to convert the KML string

//    var kml = this.parser_.parseFromString(kmlString, 'text/xml');
    var kml = xmlParse(kmlString);

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