Files
TarkovMaps/web
Claude 825a58c639 Draw a coarse underlay beneath detail tiles to kill loading gaps
Each map now renders twice. The lower layer pins minNativeZoom and
maxNativeZoom to underlayZoom (2), so Leaflet serves that single level at
every view zoom, scaled to fit. The entire world at z2 is 17 tiles /
134 KB, so it paints in ~120ms and stays resident behind a generous
keepBuffer.

Detail tiles draw over it at zIndex 2, so any gap while they load shows
blurry map instead of the page background.

Verified zoom 0-7: zero broken tiles, no console errors.

Co-Authored-By: Claude Opus 5 <[email protected]>
2026-08-08 01:07:38 -07:00
..