<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
How can I update the map in my composer, using python?<br>
<br>
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.<br>
<br>
I tried a lot, including:<br>
<br>
QgsComposerMap.update()<br>
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment-->QgsComposition.update()<br>
</p>
<br>
but it doesn't work.<br>
<br>
Can anybody help??<br>
<br>
Raymond<br>
<br>
</body>
</html>