From a86b3d7beea05bb3344d9fbe088137f4e242c792 Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Mon, 28 Sep 2026 20:54:26 +0000 Subject: [PATCH] The map controls and the pin hint printed; the attribution stays MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rega printed a full-bleed map leaf on fc93c97e4 and the release worked — 1 page, canvas 1440x900, map drawn, floor held. Two things printed that have no business on paper, both found only because someone looked at the sheet. The control column — zoom in, zoom out, locate, fullscreen, share — printed top right, over the map it exists to operate. Every one is a pointer affordance with nothing to do on a page. The engine's own control groups go with it, for maps that place them outside this toolbar. The pin hint printed across the bottom: "Tap a coloured dot — someone still needs prayer". It is an instruction for a finger, addressed to a reader who is now holding a sheet of paper. Worse than useless there, because it sits under the map like a caption and says something untrue about it. The ATTRIBUTION is deliberately left alone. It looks like chrome and it is not: it is a licence term of the basemap, and a printed map that drops it is a licence problem, not a tidier page. Only the attribution TOGGLE goes, which is the button that expands it. --- library/components/hints/PinHint.vue | 6 ++++++ library/components/map-controls/MapToolbar.vue | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/library/components/hints/PinHint.vue b/library/components/hints/PinHint.vue index 039b47b15..7c6e40bab 100644 --- a/library/components/hints/PinHint.vue +++ b/library/components/hints/PinHint.vue @@ -394,6 +394,12 @@ onBeforeUnmount(() => { }) useShadowStyles(` +/* ★ NOT ON PAPER (rega, RQ-RGPRINT on fc93c97e4). "Tap a coloured dot — someone still needs + prayer" printed across the bottom of the map. It is an instruction for a finger, addressed to + a reader who is now holding a sheet of paper; on the page it reads as part of the map's own + caption and is simply untrue there. */ +@media print { .pin-hint { display: none !important; } } + /* bottom: clears the attribution strip along the map's bottom edge. That credit line is a LICENCE obligation (Mapbox ToS / OSM ODbL) and must never be covered — so the pill sits ABOVE it rather than on it. max-width keeps the pill inside narrow map panels instead of diff --git a/library/components/map-controls/MapToolbar.vue b/library/components/map-controls/MapToolbar.vue index 29a6b9229..6c8081025 100644 --- a/library/components/map-controls/MapToolbar.vue +++ b/library/components/map-controls/MapToolbar.vue @@ -57,6 +57,18 @@ const toolbarEl = ref(null) provide('mapToolbar', { el: toolbarEl, shape: computed(() => (props.controls === 'square' ? 'square' : 'round')) }) useShadowStyles(` +/* ★ NOT ON PAPER (rega, RQ-RGPRINT on fc93c97e4). Printing a full-bleed map leaf put the whole + control column — zoom in, zoom out, locate, fullscreen, share — on the sheet, over the map it + is meant to operate. Every one of them is a pointer affordance with nothing to do on paper. + The engine's own control groups go too, for the maps that place them outside this toolbar; the + ATTRIBUTION is deliberately left alone, because it is a licence term, not chrome. */ +@media print { + .map-toolbar, + .mapboxgl-ctrl-group, + .maplibregl-ctrl-group, + .mapboxgl-ctrl-attrib-button, + .maplibregl-ctrl-attrib-button { display: none !important; } +} .map-toolbar { position: absolute; top: 6px;