Patch from fredj adds toString() method to Geometry.Linearring. Fixes #565. Thanks, Fred.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2899 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -90,6 +90,13 @@
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user