Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When DD rotation fails to evaluate, fallback to static value
The old behavior was to always fall back to 0 in case of a failing expression. Which made it hard to create a proper legend in some cases. E.g. if you had two symbol layers with the following expressions for their rotation "orientation" And 90 + "orientation" which would be two orthogonal symbol layers (e.g. denote a right angle), rotated by an orientation field. Now in the legend (and symbol preview), both layers would be shown with a rotation of 0, because there is no associated feature with a field orientation. The new behavior is to fallback to the static, configured values which makes it very intuitive to configure the legend for these cases.
- Loading branch information