Files
TarkovMaps/tools
Claude f49a00bc98 Version tile URLs so rebuilt maps cannot serve a previous build
Tile paths are stable across rebuilds but their contents are not: moving a
map's `place` makes tiles/<id>/6/17/33.webp different imagery at the same
URL. Combined with the immutable week-long cache added earlier, a browser
that had seen an older build blended the two and drew duplicated, offset
terrain -- visible as a second copy of Lighthouse.

Each map now carries a `version` in world.json, hashed from its geometry,
zoom range and source file stamp, and appended to every tile URL as ?v=.
Re-tiled maps get fresh URLs; identical rebuilds keep the same version so
nothing is re-fetched needlessly.

Also corrects the runbook's base-layer table, which still listed the
pre-correction layers for Woods, Reserve, Interchange and Streets.

Verified: 733 tiles across seven map views, all carrying ?v=, zero broken,
and the focused map topmost in every case.

Co-Authored-By: Claude Opus 5 <[email protected]>
2026-08-08 14:59:41 -07:00
..