[Qgis-developer] How to set the View rotation in pyQGIS ?

G. Allegri giohappy at gmail.com
Wed Mar 4 05:23:36 PST 2015


You can set it through the QgsMapCanvas.setRotation method:
http://qgis.org/api/classQgsMapCanvas.html#aede658d1a978b99cfeb05eef3d392caa
(which will set it through the QgsMapSettings class:
http://qgis.org/api/classQgsMapSettings.html#aa0af1bbdc4b77e67cf02b89a9bf0ae77
)

giovanni

2015-03-04 14:12 GMT+01:00 Geo DrinX <geodrinx at gmail.com>:

> Hello,
>
>
> there is a documentation about how to set the View rotation from  pyQGIS ?
>
>
> Thank you for any info
>
> Regards
>
> Roberto
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Giovanni Allegri
http://about.me/giovanniallegri
Twitter: https://twitter.com/_giohappy_
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150304/6d375d6b/attachment-0001.html>


More information about the Qgis-developer mailing list