Zoom the map in more, since in some cases a miscalculation of grid size (cough,

opera, cough) results in the 1,1 tile not being drawn due to being outside the 
map.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3173 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-05-24 07:16:22 +00:00
parent f7d1f74053
commit 77d5d70078

View File

@@ -187,8 +187,9 @@
layer = new OpenLayers.Layer.WMS(name, url, params);
map.addLayer(layer);
map.setCenter(new OpenLayers.LonLat(0,0), 5);
map.setCenter(new OpenLayers.LonLat(0,0), 10);
//grab a reference to one of the tiles
var tile = layer.grid[1][1];
t.eq( tile.imgDiv.className, "olTileImage", "Tile has an image" );