<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="FR" link="#0563C1" vlink="#954F72"><div class="WordSection1"><p class="MsoNormal"><span lang="EN-US">Hello Every Body,</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal">
<span lang="EN-US">I’d like to develop a standalone application for air pollution modeling based on pyqgis. I installed QGIs version 2.2 on windows 7 64bits from osgeo installer and my development platform is Eclispe/pydev.</span></p>
<p class="MsoNormal"><span lang="EN-US">As a first step, I’m trying to load a shapefile and plot it on a qgsmapcanvas (see attached python code) : the shapefile is properly  loaded but I can see it plotted only after minimizing the window and restoring it. I have tried to add repaint(), refresh() calls on the qgsmapcanvas or the window without any success. I must surely miss something simple and would appreciate some help if possible.</span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you in advanced and best regards,</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span style>Sylvie</span></p><p class="MsoNormal"> </p></div>
</body></html>