Draw dark and light posters from Esri; keep no poster whose picture failed

CARTO's basemaps now need an API key and answer every tile with an "API
KEY REQUIRED" picture under a 200, so the dark and light backgrounds and
the world locator showed that text. They now use Esri's grey canvases,
which need no key and draw to zoom 16; each provider names its deepest
zoom, and a race poster resolves its position once, capped to it, for
the map, the projected track and the locator alike. One tile stitcher
replaces three copies and refuses a map whose tiles are all the same
picture: a provider's placeholder is said in the log, not drawn.

A race poster, a thumb or a season poster whose map or photo failed is
served but no longer kept, so the next ask renders it again; race
posters carry a render version in their file name, so those drawn over
CARTO's placeholder are rendered again.

Claude-Session: https://claude.ai/code/session_01NcbgfJAa38xFpzy69BWrqh
This commit is contained in:
2026-11-27 09:58:14 +01:00
parent 4c4a561141
commit ec94c69222
3 changed files with 90 additions and 76 deletions
+2 -2
View File
@@ -49,8 +49,8 @@
<select id="bg">
<option value="aerial">aerial: Esri satellite imagery (the default)</option>
<option value="osm">osm: OpenStreetMap street map</option>
<option value="dark">dark: Carto Dark Matter</option>
<option value="light">light: Carto Positron</option>
<option value="dark">dark: Esri Dark Gray Canvas</option>
<option value="light">light: Esri Light Gray Canvas</option>
<option value="none">none: plain black, no tiles (fastest)</option>
</select>
</label>