-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Clipped VectorTile rendering with renderMode: 'image' when browser is zoomed #10553
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I also have the same problem !! I’m going to turn off image rendering tomorrow and see if it’s working. |
I fixed this by adding a bigger buffer to the tile vector |
I am having this problem as well. |
The screenshot that @jeroenvheel looks like the vector tile source might have polygons with the wrong winding order. That could be fixed by configuring the import VectorTileSource from 'ol/source/VectorTile';
import MVT from 'ol/format/MVT';
import Feature from 'ol/Feature';
new VectorTileSource({
format: new MVT({
featureClass: Feature
}),
}) |
Here are some examples: Code example |
@ahocevar I confirm, I've tested it in my codesandbox example with last 6.3.2-dev and the issue doesn't occur anymore 👍 Can't wait to integrate it in our app. Thank you very much ! |
Looks great. Thank you! @ahocevar |
Describe the bug
I have a similar issue which has been raised here but this time with VectorTile using renderMode: 'image'.
When user zoomed the browser (with Ctrl-+ for example) it makes tiles clipped as in animation below:
.. there is a some kind of 'clip' between tiles.
The bug doesn't occur when:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The rendering as when the browser is not zoomed.
Thank you in advance and have a nice day,
The text was updated successfully, but these errors were encountered: