ekke f92a3d43c1 Show the Markers layer when a location is created or focused
Points placed with Draw > Point were written to the database but never appeared
on the map. The cause is not in the new workflow: the Markers layer is built
with visible: false so a fresh map is uncluttered, and nothing in the
application ever switched it on — only the LayerSwitcher could. So the record
was saved, the map panned to it, and nothing was drawn.

This predates the workflow change; making Draw > Point the single way to add a
point is what made it obvious, because placing a point is now the common
gesture rather than an occasional one.

MapView.showMarkers() switches the layer on, and the three places that act on a
specific location call it: adding one from the map form, adding one from the
sidebar form, and picking one from the Locations list. The default stays hidden,
so a map with no locations in play still opens clean.

Traced the marker count and layer visibility through the whole sequence — add,
enter Digitise, draw, save, pick Select, leave Digitise. The count was always
right and the layer was false throughout, which is what pinned the cause; it is
now true from the save onward.

Service Worker v20 -> v21.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-20 17:57:03 +02:00
..
2026-03-04 12:59:40 +01:00
2026-03-04 12:59:40 +01:00
2026-03-04 12:59:40 +01:00