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

Fix the distance calculation for showing lines' popup #58

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

daniel-oliv
Copy link

The geojson "MultiLineString" feature may have several lines, and every line has two points. Based on that, i did a small change to use the two points for every line when calculating distance from the click. Thanks a lot for the project. It's really nice!

@robertleeplummerjr
Copy link
Owner

Can you update this PR to use the newly upgraded typescript version? Ty!

@daniel-oliv
Copy link
Author

I'll be trying this soon I hope.
Sorry for my delay. The things are not running as expected. These are busy days.

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

Successfully merging this pull request may close these issues.

2 participants