move Layer.Grid.getGridBounds function into deprecated.js
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
|
||||
|
||||
function test_Layer_Grid_getTilesBounds(t) {
|
||||
t.plan( 4 );
|
||||
t.plan(3);
|
||||
|
||||
layer = new OpenLayers.Layer.WMS(name, url, params);
|
||||
|
||||
@@ -110,10 +110,6 @@
|
||||
|
||||
t.ok( bounds.equals(testBounds), "getTilesBounds() returns correct bounds");
|
||||
|
||||
var bounds = layer.getGridBounds();
|
||||
|
||||
t.ok( bounds.equals(testBounds), "getGridBounds() wrapper works the same as getTilesBounds.");
|
||||
|
||||
//no tiles
|
||||
layer.grid = [];
|
||||
bounds = layer.getTilesBounds();
|
||||
|
||||
Reference in New Issue
Block a user