thermograph/static
Emi Griffith 052b0a3e26 Picker map: smaller labels, darker roads; location label coords→place (#27)
* Picker map: smaller city labels, darker/bolder roads (split tile layers)

Split the CARTO Voyager basemap into two raster layers so label size and road
weight are independent: a labels-free base upscaled via tileSize 512 + zoomOffset
-1 (bold, prominent roads) plus a labels-only layer at natural size on top (small,
crisp city names). The darken/saturate filter now targets the base layer only
(.mp-base: brightness .92, contrast 1.12), deepening the roads while leaving label
text at full contrast.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B3Q2EkHHnTUX2BfhV5q1Zc

* Location label: show coordinates immediately, then resolve to place name

On selecting a location, write the raw coordinates to the location label right
away, so the user sees the picked spot instantly instead of a stale/blank label.
The existing post-fetch render already overwrites it with the reverse-geocoded
"neighborhood, city, region" string (data.place), so the label now reads
coords → place name live.

- app.js / calendar.js / day.js: set coords in the selection handler before the
  fetch; the render/initOnce overwrite is unchanged.
- compare.js: show coordinates through the pending + loading states (instead of
  "Locating…") so each chip's coords are replaced live by the place name once
  scored.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B3Q2EkHHnTUX2BfhV5q1Zc

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 08:35:43 +00:00
..
app.js Picker map: smaller labels, darker roads; location label coords→place (#27) 2026-07-11 08:35:43 +00:00
calendar.html Metric cards: status to top-right, normal under the value; bold head context (#20) 2026-07-11 07:20:13 +00:00
calendar.js Picker map: smaller labels, darker roads; location label coords→place (#27) 2026-07-11 08:35:43 +00:00
compare.html Compare: put full state in the URL and gate reloads behind Refresh (#12) 2026-07-11 03:17:17 +00:00
compare.js Picker map: smaller labels, darker roads; location label coords→place (#27) 2026-07-11 08:35:43 +00:00
day.html Lead location labels with neighbourhood; drop ±7-day window jargon (#18) 2026-07-11 00:02:19 -07:00
day.js Picker map: smaller labels, darker roads; location label coords→place (#27) 2026-07-11 08:35:43 +00:00
index.html Stack the location head context top-down; drop sq-mi-cell wording (#19) 2026-07-11 07:10:46 +00:00
legend.html Add comfort-temperature compare view; simplify Feels calendar filter (#9) 2026-07-10 19:58:56 -07:00
mappicker.js Picker map: smaller labels, darker roads; location label coords→place (#27) 2026-07-11 08:35:43 +00:00
nav.js Add a °F/°C unit toggle to the header (#23) 2026-07-11 08:10:40 +00:00
style.css Picker map: smaller labels, darker roads; location label coords→place (#27) 2026-07-11 08:35:43 +00:00