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

Do not optimize lines away entirely #5511

Merged
merged 1 commit into from Jun 23, 2016

Conversation

ahocevar
Copy link
Member

Currently, if a linestring has only two points, and if these two points are equal, they might not get rendered at all.

Fixes the issue described in https://groups.google.com/d/msgid/ol3-dev/30136824-347b-464c-a246-7d25e4b9da8f%40googlegroups.com.

@tsauerwein
Copy link
Member

Rendering test? :) Or is the issue not reproducible all the time?

@ahocevar
Copy link
Member Author

@tsauerwein Rendering test added.

@tsauerwein
Copy link
Member

Perfect, thanks! Your change looks good to me.

@ahocevar ahocevar merged commit 9453984 into openlayers:master Jun 23, 2016
@ahocevar ahocevar deleted the keep-last-point branch June 23, 2016 09:07
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.

None yet

2 participants