Closed AnyOldName3 closed 3 months ago
Thanks. I'll merge this for now, since it solves the problem.
However it looks like it has the potential to create a LOT of image tiles that are not used. Do you agree? Caching, or a global LUT, are both planned items that would help with this down the road. Another solution would be to load ancestor tiles on-demand then a pixel's data isn't available in any of the sources.
Yeah, that sounds about right. All of those suggested improvements would be good things.
When the imagery and map tiles are using a different profile to the tile key, they'll need reprojecting, and if any image is unavailable, it can affect several tiles. That also means there can be tiles which are partially covered by tiles at a particular LOD level.
Without this change, only one LOD level is tried, and if a tile is partially covered, it'll get used, but leave gaps in the map. With this change, those gaps will be filled with lower-quality imagery from other LOD levels.
Before
After
To reproduce the problem, you can use this map (which was originally a
.earth
file):