Commit Graph
2 Commits
Author SHA1 Message Date
jschoubben ec94c69222 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
2026-11-27 09:58:14 +01:00
jschoubben b6e6e9d565 Add an example site that calls every route, served at /examples/
A reader learns the API fastest from working calls: one page per area
(circuit browser, track images, GPS traces on a map, grand prix lookup,
posters, Kometa) shows the exact request URL next to its answer. Pages
call their own origin when the app serves them, and the public service
when opened from disk or given ?api=. Posters render only on a button
press, since each one fetches map tiles on the server. A body that does
not match the asked format is said in red, never shown as success.

The image copies examples/ so the deployed app serves the same pages.

Claude-Session: https://claude.ai/code/session_01NcbgfJAa38xFpzy69BWrqh
2026-11-27 09:48:04 +01:00