[OpenLayers-Commits] r3173 - trunk/openlayers/tests/Layer
commits at openlayers.org
commits at openlayers.org
Thu May 24 03:16:24 EDT 2007
Author: crschmidt
Date: 2007-05-24 03:16:22 -0400 (Thu, 24 May 2007)
New Revision: 3173
Modified:
trunk/openlayers/tests/Layer/test_Grid.html
Log:
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.
Modified: trunk/openlayers/tests/Layer/test_Grid.html
===================================================================
--- trunk/openlayers/tests/Layer/test_Grid.html 2007-05-24 07:08:48 UTC (rev 3172)
+++ trunk/openlayers/tests/Layer/test_Grid.html 2007-05-24 07:16:22 UTC (rev 3173)
@@ -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" );
More information about the Commits
mailing list