The plugin designer's rules: where a map's credit goes on a phone

This commit is contained in:
Doxa Maps 2026-09-30 08:46:46 +00:00
parent 659bdc372e
commit 180f44bb15

View file

@ -156,6 +156,16 @@ real bug:
```
Run each paint and filter expression your layers use against a few real features from the data.
8. **ATTRIBUTION PLACEMENT (best practice).** The engine's credit is a licence term, so it must always
be on the map, uncovered and tappable. On a phone:
- **A map with a footer legend sheet** (`LegendMobile`): the credit goes in the **top corner on the
start side** (top-left; top-right in RTL), opposite the map's control column. LegendMobile does
this while it is mounted.
- **A map without a footer sheet**: the credit goes at the **bottom-right** (bottom-left in RTL).
- **Both**: the credit is compact and **folds to its (i) 3 s after it first shows**; a tap on the (i)
expands it again. Its corner's z-index sits **above the scroll-edge strips** (`.map-scroll-edge`,
z-index 2), so the tap always lands.
- Remove MapLibre's optional logo control. Its licence does not require it; the credit stays.
## 6. Localization and right to left