Skip to content

Label anchor #825

@pelord

Description

@pelord

Description

When setting an anchor point for a text symbolizer, the geostyler style object property seem to have no effect on text placement.

Expected behaviour

Respect the anchor point of the text symbolizer.

How to reproduce

On https://geostyler.github.io/geostyler-demo/

Load a point example and add this geostyler object

{
  "name": "Basic Circle",
  "rules": [
    {
      "name": "Rule 1",
      "symbolizers": [
        {
          "kind": "Mark",
          "wellKnownName": "circle",
          "color": "#FF00AA"
        },
        {
          "kind": "Text",
          "label": "Your Label",
          "size": 12,
          "anchor": "bottom-left"
        }
      ]
    }
  ]
}

The text symbolizer stay a the same place.

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions