fix for #843 - remove unnecesary url prepping in image tiles

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3768 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-07-16 22:08:28 +00:00
parent cc1b0269c9
commit 918b430802
9 changed files with 17 additions and 32 deletions

View File

@@ -124,7 +124,7 @@
}
function test_06_Layer_MapServer_mergeNewParams (t) {
t.plan( 5 );
t.plan( 4 );
var map = new OpenLayers.Map("map");
var url = "http://labs.metacarta.com/cgi-bin/mapserv";
@@ -135,8 +135,7 @@
map.addLayer(layer);
map.zoomToMaxExtent();
t.ok( !layer.grid[0][0].url.match("chickpeas"), "chickpeas is not in URL of first tile in grid" );
layer.mergeNewParams(newParams);
t.eq( layer.params.layers, "sooper", "mergeNewParams() overwrites well");