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

Use multistroke paths for lines #75

Open
jbccollins opened this issue Jun 6, 2019 · 1 comment
Open

Use multistroke paths for lines #75

jbccollins opened this issue Jun 6, 2019 · 1 comment

Comments

@jbccollins
Copy link
Owner

https://jsfiddle.net/jbccollins/c5sz1uyv/

This is a high effort low return enhancement. But it would be nice. Would probably require extending leaflet's Polyline. And then writing a react-leaflet wrapper around that.

@jbccollins
Copy link
Owner Author

jbccollins commented Feb 3, 2020

https://github.com/bbecquet/Leaflet.PolylineOffset
May be useful here. I'd need to write a react wrapper for it tho. It appears to be buggy when zoomed out. There are a few PRs to fix that but the library seems to be unmaintained.

Relevant Demo:
https://bbecquet.github.io/Leaflet.PolylineOffset/examples/example_bus.html

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

No branches or pull requests

1 participant