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

Using polylineDecorator with ant-path is not working #110

Open
EricG-Personal opened this issue Jul 7, 2022 · 1 comment
Open

Using polylineDecorator with ant-path is not working #110

EricG-Personal opened this issue Jul 7, 2022 · 1 comment

Comments

@EricG-Personal
Copy link

I am not sure where the issue is. I have a codepen demonstrating the issue at https://codepen.io/ericg97477/pen/vYRGYVr

With one polyline, I can decorate it with an arrow.

With the second polyline, I am creating it with anyPath, but cannot decorate with an arrow.

It would be nice if I could use both polylineDecorator together with ant-path.

Packages used:

https://unpkg.com/[email protected]/dist/leaflet.js
https://unpkg.com/[email protected]/dist/leaflet-ant-path.js
https://unpkg.com/[email protected]/dist/leaflet.polylineDecorator.js

@changehu
Copy link

Have you achieved this effect? I also encountered this problem now.

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