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

How to disable arrow auto scale? #109

Open
vutle opened this issue Oct 22, 2021 · 2 comments
Open

How to disable arrow auto scale? #109

vutle opened this issue Oct 22, 2021 · 2 comments

Comments

@vutle
Copy link

vutle commented Oct 22, 2021

Hi guys thanks for this great addon.

Does anyone know which option do you set to disable auto scale so that when zoom out it should appear smaller?

I'm currently use these options below, but the arrow try to autoscale and it appear bigger than the line.

patterns: [
{offset: "50%", repeat: 0, symbol: L.Symbol.arrowHead({pixelSize: 15, polygon: false, pathOptions: {color: "yellow", stroke:
]

image

I want to keep it constant size. So the arrow appear smaller when zoom out.

image

@samuelperezdi
Copy link

Hi, I have the same problem. Did you figure something out?

@electroheadfx
Copy link

yeah me too, I want know how to do percent size relative to zoom ?

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

3 participants