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 #17

Open
eXMarty opened this issue Aug 27, 2022 · 0 comments
Open

iconAnchor #17

eXMarty opened this issue Aug 27, 2022 · 0 comments

Comments

@eXMarty
Copy link

eXMarty commented Aug 27, 2022

What exactly is the intended use of the offset: {x: 0, y: 0} property? wouldn't it be better to use iconAnchor: [0, 0] like when styling the icon with L.marker(... ? I've tried using offset with different values, and it works, but it's not very intuitive. But I came to problem when I combined offset with rotate - then the possibility of using offset is not very possible

Thanks for the responses or advice. And sorry for my bad english

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

1 participant