Skip to content

Text annotations - wrong text align in preview #3910

@gioscarda

Description

@gioscarda

Description

When changing the style of a text annotation, if you change the 'Text Align' property to left/right the preview shows the opposite (right/left). The same change in the map applies correctly.

In case of Bug (otherwise remove this paragraph)

Browser Affected
(use this site: https://www.whatsmybrowser.org/ for non expert users)

  • Internet Explorer
  • Chrome
  • Firefox
  • Safari

Browser Version Affected

  • All

Steps to reproduce

  • open a map
  • open the annotations tool from the burger menu
  • click on '+' to add a new annotation
  • click on 'Add a new geometry' and select 'Text'
  • insert a Text
  • set the annotation position by clicking on the map or through the coordinate editor (optional)
  • click 'change style'
  • change the 'Text Align' property to left/right from the 'Font' section
  • see the results in the preview and on the map

Expected Result

  • If 'left' selected the text annotation should be aligned on the left both on the map and in preview
  • If 'right' selected the text annotation should be aligned on the right both on the map and in preview

Current Result

  • If 'left' selected the text annotation is aligned on the left on the map and on the right (wrong!) in preview
  • If 'right' selected the text annotation is aligned on the right on the map and on the left (wrong!) in preview
    text_annot_align.gif

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions