> It's true, that WMS.redraw() doesn't seem to really force it. Try this trick:
>
>   refresh_test.mergeNewParams({ blah:Math.random() });
>   refresh_test.redraw(true);
>

HttpRequest.redraw method does the same thing, so the additional call
to mergeNewParams looks unnecessary
see: http://trac.osgeo.org/openlayers/browser/trunk/openlayers/lib/OpenLayers/Layer/HTTPRequest.js

redraw: function(force) {
      if (force) {
             return this.mergeNewParams({"_olSalt": Math.random()});
         } else {
             return OpenLayers.Layer.prototype.redraw.apply(this, []);
         }
 },
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to