Hi,
for some reason my email client did not download
or received the answer to my question, sent by "boesiii",
that i find righ now browsing the mailing list archive.
So, using
map_item.setNewScale(canvas.scale())
i can surely set the scale for the map composer
thank you Boesiii
and sorry
Hi,
still the only way i found to set the composer
map is using
zoomToExtent(canvas.extent())
but not able to set a custom defined scale,
any hint to find some documentation
or some way to set the composer scale using pyQGIS?
thanks again
Il 07/07/2016 12:59, roy roy ha scritto:
> Hi, I'm
Try:
map_item.setNewScale(canvas.scale())
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Set-Composer-scale-with-pyqgis-tp5275120p5275129.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___