lazyflat/web/static
EiSiMo 2ebbf76a80 experiment: shade excluded Bezirke on map (faint yellow overlay)
Tints districts the user's Bezirk filter has EXCLUDED in light yellow
(#fde68a, fillOpacity 0.35) so the active selection is obvious from
the map alone — and you can see at a glance whether a "rausgefiltert"
flat fell in a no-go district. When no district filter is set the
overlay stays off entirely (nothing is excluded).

Wiring:
- Berlin Bezirke GeoJSON checked in at web/static/berlin-districts.geojson
  (12 features, name property matches our DISTRICTS list 1:1, props
  stripped down to {name} and minified — 312KB raw, ~80KB gzipped).
- Route exposes the user's selected_districts_csv to the template.
- The flats-map-data <script> carries it on data-selected-districts so
  it flows in alongside csrf and the marker payload.
- map.js fetches the GeoJSON once (cache normally), keeps the layer in
  a module-level reference, and re-styles it via setStyle() on every
  swap (cheap). Marker layer is kicked to the front so pins always
  paint above the shaded polygons. fingerprintOf now also folds in
  the selected-districts CSV so a Bezirk-only filter change still
  triggers a re-render.

Branch only — kept off main while we see if this reads well.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 13:30:30 +02:00
..
.gitkeep lazyflat: combined alert + apply behind authenticated web UI 2026-04-21 09:51:35 +02:00
app.css feat(ui): bigger lightbox arrows, calmer button anim, expand row by clicking whitespace 2026-04-23 13:23:54 +02:00
app.js feat(ui): bigger lightbox arrows, calmer button anim, expand row by clicking whitespace 2026-04-23 13:23:54 +02:00
berlin-districts.geojson experiment: shade excluded Bezirke on map (faint yellow overlay) 2026-04-23 13:30:30 +02:00
didi.webp rename to wohnungsdidi + didi logo + footer for all + seconds-only counter 2026-04-21 17:29:24 +02:00
map.js experiment: shade excluded Bezirke on map (faint yellow overlay) 2026-04-23 13:30:30 +02:00