Allow point-based shapes to be individually rotated based on a 'Rotation' field in the shapefile
Right now, rotation of a point-based shape (during rendering) is based on a drawing property that applies to the entire layer rather than a single feature. As such, all shapes within that layer would have the same rotation applied.
It has been requested that we allow for a field attribute within the shapefile to carry a rotation value that would apply to the shape within that row of the shapefile (similar to behavior supported by ESRI). This allows the user to easily set an individual rotation for each shape.
Additional changes have been applied
The rotationExpression member variable was not being copied within the DrawingOptions ‘equal’ operator
Resulting rotation is now applied to all point types (Standard, Font, and Picture)
Assorted unrelated changes to reduce the number of compiler warnings
Not all of those changes are ment to be merged though. I'll clean the branch up a bit today.
I will try to merge changes soon (from develop-mad-staging) and work with it in my dev branch. Thanks for working on this.
I’ve been testing this & pushing some changes to that feature branch - since this is my active dev branch, it’s no longer the last commit, but I’ve added this issue nr. in the relevant commit’s message
Just to clarify: I completely forgot you said you had something ready, it’s only when I went looking for the issue I was reminded