[Qgis-developer] update / refresh qgsComposerMap?

Raymond Nijssen r.nijssen at terglobo.nl
Fri May 10 05:40:09 PDT 2013


How can I update the map in my composer, using python?

My python script changes some layer properties and exports my composer 
afterwards. But I cannot get my map updated before exporting, so my 
exported file still shows the "old" map.

I tried a lot, including:

QgsComposerMap.update()

QgsComposition.update()


but it doesn't work.

Can anybody help??

Raymond

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130510/e1d43d8a/attachment.html>


More information about the Qgis-developer mailing list