On Fri, Dec 12, 2014 at 11:30:36AM +0100, Pirmin Kalberer wrote: > Hi Sandro, > > Am Sonntag, 7. Dezember 2014, 17.05:55 schrieb Sandro Santilli: > > This mail to notify that the core map rotation support is now in master. > > > > Great addition! > > > > > Not all parts of QGIS play nicely with rotation yet, but hopefully > > this will be a good basis to continue development toward full support. > > > > In particular, label placement is not fully rotation aware. > > Horizontal labels are still horizontal, no matter map rotation, but > > "parallel" ones are parallel to the original (not rotated) lines instead. > > Placement of labels is also weird when rotation is present. > > > > Also grid and north arrow are not respecting rotation, and the zoom-by-rect > > rubberband (the zoom window) looks funny when the map is rotated. > > How should PluginLayers handle map rotation? The OpenLayers plugin won't > rotate Google Maps layers, because it's against Google's TOS. Will you > automatically disable map rotation in presence of a PluginLayer or will there > be a API method to disable it?
You can disable it with QgsMapCanvas::setRotation(0) The rotationChanged signal is emitted for you to force 0 > Will digitizing plugins ([1], [2]) still work with rotated maps? Core editor work fine as far as I can tell. I hadn't tried external ones. > Or is there an architecture document (or a QEP) to understand the > consequences > for plugins and other parts of QGIS (e.g. globe)? No QEP, sorry. --strk; () ASCII ribbon campaign -- Keep it simple ! /\ http://strk.keybit.net/rants/ascii_mails.txt _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
