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

G. Allegri giohappy at gmail.com
Wed Mar 4 05:58:50 PST 2015


Nice Roberto ;)

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

> Hi Giovanni,
>
>
> In fact, in the meantime I solved.  So, I updated  GEarthView plugin   :)
>
> Now, it is funny to see also QGIS view rotating with GoogleEarth
>
>
> Thank you
>
> Roberto
>
> 2015-03-04 14:23 GMT+01:00 G. Allegri <giohappy at gmail.com>:
>
>> 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
>>
>
>


-- 
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/f4293d55/attachment.html>


More information about the Qgis-developer mailing list