[Qgis-developer] set mapunitsperpixel

Martin Dobias wonder.sk at gmail.com
Mon Nov 24 05:16:30 EST 2008


On Mon, Nov 24, 2008 at 7:46 AM, Tim Sutton <tim at linfiniti.com> wrote:
> Hi
>
>> > In QgsMapCanvas, C++, there are two methods, one zoom(bool) and one zoom(double). In the python bindings, there is only zoom(bool), so zoom(1) means true (zoom in).
>>
>> Ouch! That's bad. If nobody ojbect, I'll change them to zoomIn(),
>> zoomOut() and zoomByFactor(double) to avoid this ambiguity.
>
> +1
>

Done in r9691.

Martin


More information about the Qgis-developer mailing list