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 <geodr...@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@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
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to