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:
@@ -193,7 +193,7 @@ OpenLayers.Layer.WMS.Untiled.prototype =
|
||||
OpenLayers.Layer.HTTPRequest.prototype.mergeNewParams.apply(this,
|
||||
newArguments);
|
||||
//redraw
|
||||
this.moveTo();
|
||||
this.moveTo(null, true);
|
||||
},
|
||||
|
||||
/** combine the layer's url with its params and these newParams.
|
||||
|
||||
Reference in New Issue
Block a user