[OpenLayers-Commits] r2074 - trunk/openlayers/lib/OpenLayers/Layer/WMS
commits at openlayers.org
commits at openlayers.org
Sat Dec 16 10:30:17 EST 2006
Author: crschmidt
Date: 2006-12-16 10:30:16 -0500 (Sat, 16 Dec 2006)
New Revision: 2074
Modified:
trunk/openlayers/lib/OpenLayers/Layer/WMS/Untiled.js
Log:
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.
Modified: trunk/openlayers/lib/OpenLayers/Layer/WMS/Untiled.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/WMS/Untiled.js 2006-12-15 20:22:11 UTC (rev 2073)
+++ trunk/openlayers/lib/OpenLayers/Layer/WMS/Untiled.js 2006-12-16 15:30:16 UTC (rev 2074)
@@ -193,7 +193,7 @@
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.
More information about the Commits
mailing list