While loading a vector mbtiles, as in the AutoTester VectorMBTilesTestCase (i.e. with sampling params .singleLevel = true), many levels seem to be displayed at once. This is easily replicated with the attached example mbtiles that contains a single large polygon in Arizona with some tiles omitted at different levels (most notably level 8 is missing all but one tile) -- yet in WhirlyGlobe it appears as the entire polygon at any zoom because the lower zoom levels (0+) are still displayed at higher zoom levels (like 8+).
(This is particularly problematic with more complex geometries that are oversimplified at lower zooms, since those simplified features are still displayed over the top of the finer geometries.)
Is this some sort of desired behavior that can be avoided with a particular loader / interpreter / style configuration I haven't found yet (I think I've tried them all)? It doesn't seem like it would be, and it isn't how any other application I can think of (QGIS, Mapbox, etc) loads/renders these.
Any thoughts would be much appreciated.
test.mbtiles.zip
While loading a vector mbtiles, as in the AutoTester VectorMBTilesTestCase (i.e. with sampling params .singleLevel = true), many levels seem to be displayed at once. This is easily replicated with the attached example mbtiles that contains a single large polygon in Arizona with some tiles omitted at different levels (most notably level 8 is missing all but one tile) -- yet in WhirlyGlobe it appears as the entire polygon at any zoom because the lower zoom levels (0+) are still displayed at higher zoom levels (like 8+).
(This is particularly problematic with more complex geometries that are oversimplified at lower zooms, since those simplified features are still displayed over the top of the finer geometries.)
Is this some sort of desired behavior that can be avoided with a particular loader / interpreter / style configuration I haven't found yet (I think I've tried them all)? It doesn't seem like it would be, and it isn't how any other application I can think of (QGIS, Mapbox, etc) loads/renders these.
Any thoughts would be much appreciated.
test.mbtiles.zip