Skip to content

Improve precision of ol.reproj.render #4869

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

Merged
merged 1 commit into from
Feb 19, 2016

Conversation

petrsloup
Copy link
Member

There are sometimes visible gaps inside reprojected raster tiles (see #4681 (comment)).

It turns out to be a problem with precision of operations inside canvas 2d context and this issue can be fixed by doing the scaling multiplication in javascript instead of the canvas.

@ahocevar
Copy link
Member

Nice! Avoiding these canvas transforms should also improve performance. Please merge.

petrsloup added a commit that referenced this pull request Feb 19, 2016
@petrsloup petrsloup merged commit 7b8feaa into openlayers:master Feb 19, 2016
@petrsloup petrsloup deleted the improve-reproj-precision branch February 19, 2016 08:14
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