Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label anchor #2432

Open
pelord opened this issue May 16, 2024 · 0 comments
Open

Label anchor #2432

pelord opened this issue May 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pelord
Copy link

pelord commented May 16, 2024

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

@pelord pelord added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

3 participants