Apply a fix to KML format to support > 4k characters in a linestring.
(Closes #1088) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5402 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -214,7 +214,8 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
"coordinates");
|
||||
var line = null;
|
||||
if(nodeList.length > 0) {
|
||||
var coordString = nodeList[0].firstChild.nodeValue;
|
||||
var coordString = this.concatChildValues(nodeList[0]);
|
||||
|
||||
coordString = coordString.replace(this.regExes.trimSpace,
|
||||
"");
|
||||
coordString = coordString.replace(this.regExes.trimComma,
|
||||
|
||||
Reference in New Issue
Block a user