Hi, I noticed that if I do:
1. QgsMapCanvas.freeze ( True ) - to stop drawing the mapcanvas 2. call QgsInterface.AddRasterLayer() two times to add two distinct WMS layers 3. QgsMapCanvas.freeze ( False ) - to enable drawing the mapcanvas 4. QgsMapCanvas.refresh - to redraw the map I noticed that AddRasterLayer completely ignores the freeze state of QgsMapCanvas forcing it to draw the map on each call of AddRasterLayer. Is there any way to avoid it?
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer