Yes. Your failing example creates a new instance of a canvas not associated
with the QGIS interface. Your working method retrieves the canvas instance
from the interface.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Learning-to-zoom-with-PyQGIS-tp5247589p5247606.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to