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

Bug fix: Fixed route line building #221

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

Fsss126
Copy link
Contributor

@Fsss126 Fsss126 commented Jan 12, 2024

Bug
If route line's coordinates don't match with the final snap point, the remaining coordinates are not added to the outpur geometry. If there's only two snappoints and the last is not found the resulting geometry's coordinates consists of only one point and the line is not being drawn.

Solution
Fixed buildRoutelines method to account for this edge case

@smellyshovel smellyshovel added bug Something isn't working semver:patch For non-breaking PR's that don't introduce new features labels Jan 12, 2024
@smellyshovel smellyshovel merged commit ba4bd5e into maplibre:main Jan 12, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working semver:patch For non-breaking PR's that don't introduce new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants