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

Handle scaled output canvas correctly #10982

Merged
merged 1 commit into from Apr 30, 2020

Conversation

ahocevar
Copy link
Member

@ahocevar ahocevar commented Apr 29, 2020

This pull request fixes an issue with vector tile rendering in image mode when decluttering is disabled. See #10553 (comment) for a description of the problem.

The reason was that instruction executors did not know about the scale of the output canvas, so the calculation whether a geometry is inside the canvas failed.

Should fix #10553

@ahocevar
Copy link
Member Author

The CI error will be fixed with #10983. I'm going to rebase this pull request when that is merged.

@ahocevar
Copy link
Member Author

Rebased, all green now.

@ahocevar ahocevar merged commit 74c9091 into openlayers:master Apr 30, 2020
@ahocevar ahocevar deleted the replay-scale branch April 30, 2020 06:44
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.

Clipped VectorTile rendering with renderMode: 'image' when browser is zoomed
2 participants