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

IconAnchor #455

Open
FronnieSW opened this issue Mar 20, 2024 · 1 comment
Open

IconAnchor #455

FronnieSW opened this issue Mar 20, 2024 · 1 comment

Comments

@FronnieSW
Copy link

FronnieSW commented Mar 20, 2024

Hello,
currently the icon anchor for bottom_right and bottom_left does not work. I suppose the problem is gonna be in every case, when u have to pass an enum item, that contains ' _ ' , even in the other classes and cases.
The problem is that currently you are doing : iconAnchor?.toString().split('.').last.toLowerCase(); - In file symbol_layer.dart, which returns ("bottom_left") but for bottom left, you are suppose to pass value ("bottom-left") so when I add .replaceAll("_", "-") to the function, which returns "bottom-left", it works fine.
Have a nice day.

@evil159
Copy link
Contributor

evil159 commented Apr 30, 2024

Hi @FronnieSW, thank you for reporting this issue, it is addressed in #523.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants