OpenLayers OpenLayers

Ticket #1088: kml_fix.patch

File kml_fix.patch, 0.7 kB (added by openlayers, 1 year ago)

Here's a patch

  • lib/OpenLayers/Format/KML.js

    old new  
    214214                                                       "coordinates"); 
    215215            var line = null; 
    216216            if(nodeList.length > 0) { 
    217                 var coordString = nodeList[0].firstChild.nodeValue; 
     217                var coordString = this.concatChildValues(nodeList[0]); 
     218 
    218219                coordString = coordString.replace(this.regExes.trimSpace, 
    219220                                                  ""); 
    220221                coordString = coordString.replace(this.regExes.trimComma,