Hi Martin.<br><br>
&gt; Someone probably forgot to add this function to python bindings...<br>
&gt; I&#39;ve revised the bindings and fixed this (and few more missing<br>
&gt; functions) in svn trunk (r10467) and it will be included in version<br>
&gt; 1.1.<br>
<br>
&gt; But I don&#39;t think setScale() is the right method. In fact it just a<br>
&gt; workaround for map composer to show layers with scale-based visibility<br>
&gt; correctly. I&#39;m not aware of direct method that would do it. You can<br>
&gt; check QgsScaleCalculator code that calculates scale from map extent -<br>
&gt; so you should be able to do inverse calculation.<br><br>
<div></div><div>Thanks, I will check it.<br><br></div><div></div><div>&gt; Yes, you can do it by setting destination CRS in map renderer<br></div>
&gt; associated with map canvas.<br><br>
<div></div><div>Yes, it works!<br></div><div><br>&gt; Right :)<br></div>
&gt; In case you need them, I can create those wrappers...<br>
<div></div><div><br>Please do it, I need them. :)</div><div><br>
&gt;&gt; 4. Implementing the QgsMapTool class I have no way to get the DoubleClick<br>
&gt;&gt; event, I did this:<br>
&gt;&gt;     -------------<br>
&gt;&gt;     def canvasDoubleClickEvent(self,event):<br>
&gt;&gt;         print &quot;Yes&quot;<br>
&gt;&gt;     -------------<br>
&gt;&gt;    But it doesn&#39;t work. I get two (<font color="#ff0000">Raise</font>) <font color="#006600">Release</font> events instead of DoubleClick one.<br>
&gt;&gt; (I really want the DoubleClick event)<br>
</div>&gt; I have no idea about this one. The bindings are in place, so the<br>
&gt; problem might be in dispatch of double click from canvas.<br>:-/<br><br>
<div></div><div>Thank you Martin.<br><br></div><div></div>-- <br>-----------<br>   |\__  <br>(:&gt;__)(<br>   |/    <br><br>Soluciones Geoinformáticas Libres                            <br><a href="http://geotux.tuxfamily.org/" target="_blank">http://geotux.tuxfamily.org/</a><br>

<br>