#571: Don't subclass Geometry.Point from LonLat, and all neccesary associated
changes. Reviewed by tschaub (thx) git-svn-id: http://svn.openlayers.org/trunk/openlayers@2943 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
}
|
||||
|
||||
function test_02_MultiPoint_move(t) {
|
||||
t.plan(4);
|
||||
t.plan(2);
|
||||
|
||||
var multipoint = new OpenLayers.Geometry.MultiPoint([point]);
|
||||
var x = point.x;
|
||||
@@ -32,8 +32,6 @@
|
||||
multipoint.move(dx, dy);
|
||||
t.eq(multipoint.components[0].x, x + dx, "move() correctly modifies x");
|
||||
t.eq(multipoint.components[0].y, y + dy, "move() correctly modifies y");
|
||||
t.eq(multipoint.components[0].lon, x + dx, "move() correctly modifies lon");
|
||||
t.eq(multipoint.components[0].lat, y + dy, "move() correctly modifies lat");
|
||||
}
|
||||
|
||||
function test_MultiPoint_equals(t) {
|
||||
|
||||
Reference in New Issue
Block a user