[OpenLayers-Users] Force to redraw base WMTS layer on moveend deos not work

mikeluz paweluz at o2.pl
Fri Feb 22 03:51:16 PST 2013


I have fixed that with this code:

/
        redrawBaseLayer: function (event) {
            *this.map.layers[0].clearGrid();*
            this.map.layers[0].mergeNewParams({
                'timestamp': Math.random()
            });
            this.map.layers[0].redraw();
        },/

cheers!



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Force-to-redraw-base-WMTS-layer-on-moveend-deos-not-work-tp5036105p5036116.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list