I have rotated some text labels by -90 in my project. I want them to stand vertically on an alignment bar. If the map window with the alignment bar also has a rotation the text is no longer vertical or horizontal. I am not sure where this text angle is coming from. (Please see picture.) The "3+200.00" is set horizontal and transposes between map windows correctly. The "Dugout 4" is set to -90 and acquires an off-angle somewhere when it transposes to the map window. Does anyone have any idea how to overcome this?
-
1Please attach a screenshot of the settings of the "dugout 4" label, thank you.– ErikJan 7, 2020 at 16:25
-
Not sure what setting I can show you.– MikeorammaJan 7, 2020 at 17:19
-
Sorry cant seem to add an image.– MikeorammaJan 7, 2020 at 17:20
-
Image added to top.– MikeorammaJan 7, 2020 at 17:21
-
Please add the label settings, not the "expression" you use for the rotation.– ErikJan 7, 2020 at 21:31
1 Answer
Use the expression ((-90) - @map_rotation) to account for the rotation applied to the Map canvas.
Note: the Expression Builder's Variables dropdown is a great place to look for other dynamic variables.