[Qgis-developer] set mapunitsperpixel

Richard Duivenvoorde rdmailings at duif.net
Mon Nov 24 14:47:02 EST 2008


Thanks Martin,
my strange testing results become clear :-)
NOW it's working as I thought it would...
Regards,
Richard Duivenvoorde

Martin Dobias wrote:
> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list