[OpenLayers-Commits] r4210 - in sandbox/tschaub/xml: lib/OpenLayers/Format tests
commits at openlayers.org
commits at openlayers.org
Mon Sep 10 19:29:02 EDT 2007
Author: tschaub
Date: 2007-09-10 19:29:01 -0400 (Mon, 10 Sep 2007)
New Revision: 4210
Modified:
sandbox/tschaub/xml/lib/OpenLayers/Format/KML.js
sandbox/tschaub/xml/tests/list-tests.html
Log:
very basic tests for KML format
Modified: sandbox/tschaub/xml/lib/OpenLayers/Format/KML.js
===================================================================
--- sandbox/tschaub/xml/lib/OpenLayers/Format/KML.js 2007-09-10 22:47:13 UTC (rev 4209)
+++ sandbox/tschaub/xml/lib/OpenLayers/Format/KML.js 2007-09-10 23:29:01 UTC (rev 4210)
@@ -617,10 +617,6 @@
// Point
path = geometry.x + "," + geometry.y;
}
- var points = null;
- if(geometry.components) {
- points = geometry.components;
- }
var txtNode = this.createTextNode(path);
coordinatesNode.appendChild(txtNode);
Modified: sandbox/tschaub/xml/tests/list-tests.html
===================================================================
--- sandbox/tschaub/xml/tests/list-tests.html 2007-09-10 22:47:13 UTC (rev 4209)
+++ sandbox/tschaub/xml/tests/list-tests.html 2007-09-10 23:29:01 UTC (rev 4210)
@@ -25,6 +25,7 @@
<li>Format/test_JSON.html</li>
<li>Format/test_GeoJSON.html</li>
<li>Format/test_GML.html</li>
+ <li>Format/test_KML.html</li>
<li>Format/test_WKT.html</li>
<li>test_Icon.html</li>
<li>test_Marker.html</li>
More information about the Commits
mailing list