Patch for #438 from Tim Schaub: "forces untiled WMS layer to redraw on

mergeNewParams". Since the Untiled layer won't redraw if the map is not
outside the current bounds, we force it with a 'zoomChanged' flag, which 
indicates that the layer should redraw regardless.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2074 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-12-16 15:30:16 +00:00
parent 2d7f2d2f47
commit 94dc03ea90

View File

@@ -193,7 +193,7 @@ OpenLayers.Layer.WMS.Untiled.prototype =
OpenLayers.Layer.HTTPRequest.prototype.mergeNewParams.apply(this, OpenLayers.Layer.HTTPRequest.prototype.mergeNewParams.apply(this,
newArguments); newArguments);
//redraw //redraw
this.moveTo(); this.moveTo(null, true);
}, },
/** combine the layer's url with its params and these newParams. /** combine the layer's url with its params and these newParams.