Skip to content

Conversation

@EmilJunker
Copy link
Contributor

@EmilJunker EmilJunker commented Jan 15, 2026

This PR is a follow-up to #2867 and removes the deprecated properties multiFeatureIndex, index, location and dist from the points returned by the nearestPointOnLine function.

As previously agreed, the properties are being removed in favor of the new ones with clearer names:

  • multiFeatureIndex -> lineStringIndex
  • index -> segmentIndex
  • location -> totalDistance
  • dist -> pointDistance

This is, of course, a breaking change. Therefore, this PR should only be merged when the next major release is due.

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.

@EmilJunker EmilJunker force-pushed the nearest-point-on-line-deprecated-properties branch from 6b4e26c to 528bda8 Compare January 15, 2026 10:02
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.

1 participant