3

enter image description hereI 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?

Text with odd angle

6
  • 1
    Please attach a screenshot of the settings of the "dugout 4" label, thank you. – Erik Jan 7 '20 at 16:25
  • Not sure what setting I can show you. – Mikeoramma Jan 7 '20 at 17:19
  • Sorry cant seem to add an image. – Mikeoramma Jan 7 '20 at 17:20
  • Image added to top. – Mikeoramma Jan 7 '20 at 17:21
  • Please add the label settings, not the "expression" you use for the rotation. – Erik Jan 7 '20 at 21:31
3

Use the expression ((-90) - @map_rotation) to account for the rotation applied to the Map canvas.

enter image description here enter image description here

Note: the Expression Builder's Variables dropdown is a great place to look for other dynamic variables.

enter image description here

1
  • Mikeoramma Everything looks good on my end, glad it worked out. – OGmaps Jan 8 '20 at 20:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.