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

_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to