Commit fix for "getGridBounds calls 'getTileBounds' instead of
this.getTileBounds", #840. Reviewed by Euz. git-svn-id: http://svn.openlayers.org/trunk/openlayers@3753 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -106,6 +106,10 @@
|
||||
var testBounds = new OpenLayers.Bounds(1,2,3,4);
|
||||
|
||||
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 = new Array();
|
||||
|
||||
Reference in New Issue
Block a user