The map controls and the pin hint printed; the attribution stays
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.
This commit is contained in:
parent
988092d363
commit
a86b3d7bee
2 changed files with 18 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue