[GIS] How to refresh QgsMapcanvas

pythonqgis

I am using Qgis 1.7 and I want to refresh the mapcanvas
so I am using refresh() function of QgsMapcanvas class
and Nothing is happening to the Map Canvas.
I am using Python for customizing

Best Answer

I use

self.iface.mapCanvas().refresh()            

in Time Manager plugin and it works. You can check the source on Github.

Related Question