Replies: 3 comments
-
I think you can return an error for tiles that doesn't deep and return the tiles for zoom 17 when you have them in the addProtocol method. |
Beta Was this translation helpful? Give feedback.
-
In tileserver-gl I added a sparse feature per data source into the current pre-release, which sends a 410 error when tiles don't exist. this allows maplibre-js to request lower zoom tiles instead of sending back a blank image. This was based on discussion in #5692 and I am using it to test my sparse tile terrain dataset In testing, before I had this new feature, I was doing like harel said with addprotocol, which was something like this |
Beta Was this translation helpful? Give feedback.
-
Throwing an error inside add protocol seems to make maplibre request lower zoom tiles. But they only get painted after a pan or zoom interaction when the page is loaded fresh. Maybe I can do a repro... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to ask MapLibre to overzoom a raster tile from inside an addProtocol handler?
My use case is that I have a tileset which goes in some areas to zoom 17 and in others only to zoom 12. Now I would like that MapLibre overzooms tiles that are in the area where I only have zoom 12 maxzoom data.
Beta Was this translation helpful? Give feedback.
All reactions