Bug report #11900
Plugin layers do not work correctly with rotation
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||up/downstream|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||20111|
Plugin layers are not drawn correctly when rotation is non-zero. (Tried with Crayfish, probably OpenLayers will have the problem too)
#2 Updated by Sandro Santilli over 6 years ago
It might be easier to split this into one ticket for each non-working plugin as I'm afraid it needs special handling in each of them.
If the problem is (as I supposed without looking) in the MapCanvasItem's setRect function, we know there's no way to retain backward compatibility of that method in presence of rotation (problem being assumption of top-left corner of visible extent falling exactly on the top-left corner of the device output, while with rotation active we can only have a fixed corrispondence between centers, not corners).
#6 Updated by Sandro Santilli over 5 years ago
- Resolution set to up/downstream
- Status changed from Open to Closed
Actually, I think plugin related issues should be handled by plugins themselves.
The OpenLayers plugin already has a ticket for handling rotation (feature request): #12666
I've filed another one for crayfish: https://github.com/lutraconsulting/qgis-crayfish-plugin/issues/126
Feel free to reopen if you see an issue with qgis itself, rather than a lack of support by calling code.