Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

I use

self.iface.mapCanvas().refresh()            

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

share|improve this answer
    
Thanks I did the same and it worked .. –  Vicky Jan 12 '12 at 9:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.