Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Clip raster tiles to avoid showing more than one tile in the same location #9415

Closed
kkaefer opened this issue Jul 4, 2017 · 0 comments
Closed
Labels
Core The cross-platform C++ core, aka mbgl rendering

Comments

@kkaefer
Copy link
Member

kkaefer commented Jul 4, 2017

After #8769 got merged, our handling of sparse raster tilesets changed. Sparse raster tilesets don't have an image for every location within their bounds, e.g. because the image would be empty.

We've never had real support for sparse tilesets, but I believe we could fix this by cutting holes into the parent tiles in the locations where we have child tiles loaded. Currently, we use one quad to draw the entire tile, but we could dynamically create buffers that consist of only the quads required to cover the part of the screen that isn't covered by other map tiles yet.

This would fix #7760 and #8678.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl rendering
Projects
None yet
Development

No branches or pull requests

1 participant