OpenLayers OpenLayers

Changeset 5402

Show
Ignore:
Timestamp:
12/13/07 19:01:13 (1 year ago)
Author:
crschmidt
Message:

Apply a fix to KML format to support > 4k characters in a linestring.
(Closes #1088)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Format/KML.js

    r5161 r5402  
    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                                                  "");