Skip to content

Fix the distance calculation for showing lines' popup#58

Open
daniel-oliv wants to merge 3 commits into
robertleeplummerjr:masterfrom
daniel-oliv:hotfix/lines-click
Open

Fix the distance calculation for showing lines' popup#58
daniel-oliv wants to merge 3 commits into
robertleeplummerjr:masterfrom
daniel-oliv:hotfix/lines-click

Conversation

@daniel-oliv
Copy link
Copy Markdown

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
Copy Markdown
Owner

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

@daniel-oliv
Copy link
Copy Markdown
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