Thank you! Hopefully I will know this much some day. Doug
On Apr 14, 12:55 am, William <[email protected]> wrote: > On Apr 14, 12:31 pm, Doug <[email protected]> wrote: > > > /** > > * Return all tags of the give type in an XML DOM node. > > * @private > > */ > > google.code.mapsearch.SearchService.prototype.getTags_ = > > function(node, tag) { > > return node.getElementsByTagNameNS('http://www.opengis.net/kml/2.2', > > tag); > > > } > > it looks like this KML doesn't have namespace prefixes (the tags are > like "placemark", not "kml:placemark"), so you can use the function > getElementsByTagName. I think this will work in all browsers. > > replace: > > return node.getElementsByTagNameNS('http://www.opengis.net/kml/2.2', > tag); > > with: > > return node.getElementsByTagName(tag); -- 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.
