#611: let all geometry inherit toString from the superclass - geometry.toString returns well-known text based on Format.WKT.write()

git-svn-id: http://svn.openlayers.org/trunk/openlayers@2945 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-03-31 19:13:11 +00:00
parent 970c9655ac
commit 1dea6430cd
7 changed files with 20 additions and 27 deletions

View File

@@ -97,13 +97,6 @@
t.eq(ring.getArea(), 100, "getArea works lovely");
}
function test_05_LinearRing_toString(t) {
t.plan(1);
ring = new OpenLayers.Geometry.LinearRing(components);
t.eq( ring.toString(), components.toString() + ',' + components[0].toString(), "toString output is ok");
}
// -->
</script>
</head>