oh ho ! it's working fine. i missed this. better solution than mine : wmsLayer.setVisibility(false); wmsLayer.setVisibility(true);
now, why 'true' is needed now ? 2013/11/1 Alexandre Dubé <ad...@mapgears.com> > Hi Marc-André, > > Have you tried forcing the layer to redraw using the force parameter ? > > > http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Layer/HTTPRequest-js.html#OpenLayers.Layer.HTTPRequest.redraw > > wmsLayer.redraw(true); > > HTH, > > Alexandre > > > > On 13-10-31 09:49 AM, Marc-André Trottier wrote: > > i'm using : > -OL 2.13.1 > -a wms layer > -the function redraw(). > > the problem : the function don't redraw the layer. I watched the code in > lib\OpenLayers\Layer.js line 570 and this launch the trigger 'moveend' of > the wms layer but it do not exist. > > is it normal ? > > Marc-André T. > > > _______________________________________________ > Users mailing > listUsers@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/openlayers-users > > > > -- > Alexandre Dubé > Mapgearswww.mapgears.com > > > _______________________________________________ > Users mailing list > us...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-users >
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users