baldav/frontend
4aiman 375fb0a7ab Map: dark backdrop + reliable tile caching
Two fixes to the dark map + offline tiles:
- Dark backdrop: body.dark-map also darkens .leaflet-container (was #ddd), so
  the light Leaflet background no longer flashes bright between/behind tiles
  while zooming or where a tile is missing.
- Tile caching: createTile fetched the display <img> from the URL but cached
  via a SEPARATE fetch — on a flaky mobile link that second request often
  failed, so tiles showed but were never cached and re-zooming re-fetched them.
  Now one fetch caches and displays from the same blob, so every shown tile is
  cached. CSP already allows connect-src to the OSM tile host.

Verified on device: container bg rgb(27,31,36) under dark map; IndexedDB tile
cache populated.
2026-09-09 13:46:22 +03:00
..
css Map: dark backdrop + reliable tile caching 2026-09-09 13:46:22 +03:00
data Product catalog cleanup (no-badge unused) + order-independent search 2026-08-25 18:23:51 +03:00
img Compass map rotation, landscape layout, GPS placeholder 2026-06-25 16:54:45 +03:00
js Map: dark backdrop + reliable tile caching 2026-09-09 13:46:22 +03:00
lib ЧЗ scanner: switch decoder to zxing-wasm (ZXing-C++) for reliable DataMatrix 2026-08-27 09:42:05 +03:00
index.html BRouter: analysis + embed the offline routing engine (Stage 1) 2026-09-09 00:56:13 +03:00