2 Commits

Author SHA1 Message Date
78c26dab5a Topic 4 exercises: three figures were cropped wrong
A reviewer spotted the pre-flight error message cut off mid-sentence. The
toast wraps to two lines and the crop kept one. Checking the rest of the
document the same way found two more: the "Add External Layer dialog" figure
and the "pop-up" figure were both pieces of map with neither dialog nor pop-up
in them.

All three re-cropped from the same screenshots, and every figure in the
document checked side by side at the size it prints rather than trusting the
crop arithmetic. The caption on the error message now also says why it names
two possible causes: the browser will not reveal which one it was.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-29 14:15:14 +02:00
dd6f0783bb Training exercises: illustrate topic 3, and add topic 4 (OpenLayers)
Topic 3 gains ten figures, in the same way as topics 1 and 2: the build as it
runs, what a build folder holds, the development server and the build side by
side, the entry file's own imports, what a visit downloads against what waits,
the Export dialog, the anatomy of a LUPMIS2 dialog, what an .xlsx really is,
the branded PDF report, and the Location summary dialog empty and filled.

Topic 4 — OpenLayers: building the map — is new, following section 6.4 of the
Training Plan: six exercises over about nine hours, with answers and eight
figures. The map, the view and the projection; layers, sources and the
switcher; styling, including by zoom; external layers and how to read their
failures; clicks and pop-ups; then the hands-on task, a Health facilities
layer added end to end — fetched, styled by category, placed in its own group,
and answering a click with a pop-up.

Both solutions were built and run before being written up. The topic 3 code
was taken back out of the document and applied to a copy of the project, where
it parsed and ran unchanged; the topic 4 layer was written, run, styled and
clicked, and the screenshots in exercises 3 and 6 are of it.

Still left out of all four documents, until someone can capture them: the
developer-tools panels and the Gitea pages.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-29 10:53:55 +02:00