fix for #785 - fix up gutter logic a little bit. on a path to getting all gutter info in one place
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3555 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
}
|
||||
|
||||
function test_50_Layer_Image_tileTests (t) {
|
||||
t.plan(9);
|
||||
t.plan(6);
|
||||
var map = new OpenLayers.Map('map');
|
||||
|
||||
layer = new OpenLayers.Layer.Image('Test Layer',
|
||||
@@ -49,9 +49,6 @@
|
||||
|
||||
map.addLayer(layer);
|
||||
map.zoomToMaxExtent();
|
||||
t.ok(layer.imageSize, "layer.imageSize is set");
|
||||
t.ok(layer.tileSize, "layer.tileSize is set");
|
||||
t.ok(layer.tileSize.equals(layer.imageSize), "tileSize equals imageSize");
|
||||
|
||||
// no resolution info was sent, so maxResolution should be calculated
|
||||
// by aspectRatio*extent/size (this is the pixel aspect ratio)
|
||||
|
||||
Reference in New Issue
Block a user