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

Never join coincident start/end points of LineStrings #4413

Merged
merged 2 commits into from
Mar 13, 2017

Conversation

jfirebaugh
Copy link
Contributor

Test case and gl-js side fix for mapbox/mapbox-gl-native#7714.

Before, a LineString feature (green) with coincident end points may or may not be joined, depending on how it gets clipped to tiles.

image

After, it will always be rendered as a line, not a polygon.

image

Polygon features (blue) are always rendered as such. No behavioral change for them.

Launch Checklist

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • manually test the debug page

@jfirebaugh jfirebaugh merged commit f07f5a5 into master Mar 13, 2017
@jfirebaugh jfirebaugh deleted the mapbox-gl-native#7714 branch March 13, 2017 22:47
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.

2 participants