Skip to content

Reverted backward incompatible fix to nearestPointOnLine#3017

Merged
smallsaucepan merged 2 commits intoTurfjs:masterfrom
smallsaucepan:revert-2951
Feb 5, 2026
Merged

Reverted backward incompatible fix to nearestPointOnLine#3017
smallsaucepan merged 2 commits intoTurfjs:masterfrom
smallsaucepan:revert-2951

Conversation

@smallsaucepan
Copy link
Member

@smallsaucepan smallsaucepan commented Feb 3, 2026

Reverted backward incompatible fix to nearestPointOnLine introduced in v7.3.2 by PR #2951, while still keeping lineSlice issue #2946 resolved with a temporary workaround.

Resolves #3008

Please provide the following when creating a PR:

  • Meaningful title, including the name of the package being modified.
  • Summary of the changes.
  • Heads up if this is a breaking change.
  • Any issues this resolves.
  • Inclusion of your details in the contributors field of package.json - you've earned it! 👏
  • Confirmation you've read the steps for preparing a pull request.

…y PR Turfjs#2951, while still keeping lineSlice issue Turfjs#2946 resolved with a temporary workaround.
@smallsaucepan smallsaucepan merged commit 53872db into Turfjs:master Feb 5, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

From version 7.3.2 the nearestPointOnLine function returns a different segmentIndex when the nearest point is at end of the input line

2 participants