Compositions · Preview · requirements · design · tasks

Haz map - Tasks

Source of truth for progress.

Tasks

T1 Builder: remoteImports (import-map only), remoteScripts (classic), and

/assets/ rewrite in fetched JS

T2 Shell: {{scripts}} slot before {{modules}}

T3 Declare feature-haz-map@1 with remote MapLibre + map module graph (R2, R3)

T4 Body fragment: home-shaking wrapper, haz-map, copyright, fullscreen dialog (R1, R4)

T5 Slice CSS for height / expand-icon fallback

T6 Composition haz-map-beta + spec folder

T7 Wire into home-beta above the intensity tables

Verification

npm run build passes

Import map lists map deps; only geonet-map-quake.mjs is an entry script

MapLibre classic script precedes module tags

Fetched JS contains rewritten https://beta.geonet.org.nz/assets/ icon paths

Live preview shows basemap tiles and last-hour overlays

Full-screen open/close on desktop

Side-by-side with beta home at desktop and 320px

Follow-ups