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 bug where leg source and destination are mismatched when route contains trackpoint or silent waypoint #560

Merged
merged 1 commit into from
Jul 13, 2021

Conversation

jill-cardamon
Copy link
Contributor

This PR addresses #556 by passing DirectionsOptions.legSeparators into Array.populate(waypoints:), rather than passing in DirectionsOptions.waypoints. It fixes a regression of #358 was introduced by #406.

/cc @ZiZasaurus

@jill-cardamon jill-cardamon added this to the v2.0.0 (GA) milestone Jul 8, 2021
@jill-cardamon jill-cardamon requested review from 1ec5 and a team July 8, 2021 22:48
@jill-cardamon jill-cardamon self-assigned this Jul 8, 2021
Copy link
Contributor

@S2Ler S2Ler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

One nit: Please start commit comments with upper case for consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug map matching Map Matching API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants