Fix kaMap test to account for tile buffering.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1182 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-08-09 23:44:59 +00:00
parent a2002868f1
commit 02e8c1ba00

View File

@@ -30,8 +30,8 @@
layer = new OpenLayers.Layer.KaMap(name, url, params, units);
map.addLayer(layer);
map.setCenter(new OpenLayers.LonLat(0,0),5);
t.eq( layer.grid.length, 5, "KaMap rows is correct." );
t.eq( layer.grid[0].length, 2, "KaMap cols is correct." );
t.eq( layer.grid.length, 6, "KaMap rows is correct." );
t.eq( layer.grid[0].length, 4, "KaMap cols is correct." );
}