Companies map: the tile credit as the end of the footer's line, not Leaflet's box #908

Closed
opened 2026-10-13 07:51:29 +00:00 by tiagoagueda · 1 comment
Owner

On the companies map (#849), two boxes sit at the map's foot: the footer's line (motto, Powered by Postulo, Source code, Help, Legal notice) bottom-start, and Leaflet's attribution box (Leaflet | © OpenStreetMap contributors) bottom-end, in Leaflet's own look.

Merge them: the credit is the end of the footer's line, in its appearance, and Leaflet draws no box of its own.

  • The server writes the tile credit (OpenStreetMap's linked to its copyright page, or the operator's typed credit as escaped text) and Leaflet into the footer overlay; nothing with no tiles but Leaflet.
  • The script shows it once the map is drawn; with scripts off there is no map to credit.
  • The dialog that places one address by hand has no footer and keeps Leaflet's box.
  • OpenStreetMap's tile policy asks for the attribution on or by the map: the footer line is over the map's foot, at every width.

Done when the map page has no .leaflet-control-attribution, the footer carries the credit in light and dark and on a phone, and the tests hold it.

On the companies map (#849), two boxes sit at the map's foot: the footer's line (motto, *Powered by Postulo*, *Source code*, *Help*, *Legal notice*) bottom-start, and Leaflet's attribution box (Leaflet | © OpenStreetMap contributors) bottom-end, in Leaflet's own look. Merge them: the credit is the end of the footer's line, in its appearance, and Leaflet draws no box of its own. - The server writes the tile credit (OpenStreetMap's linked to its copyright page, or the operator's typed credit as escaped text) and *Leaflet* into the footer overlay; nothing with no tiles but *Leaflet*. - The script shows it once the map is drawn; with scripts off there is no map to credit. - The dialog that places one address by hand has no footer and keeps Leaflet's box. - OpenStreetMap's tile policy asks for the attribution on or by the map: the footer line is over the map's foot, at every width. Done when the map page has no `.leaflet-control-attribution`, the footer carries the credit in light and dark and on a phone, and the tests hold it.
Author
Owner

Fixed in 5c0f336f2.

Fixed in 5c0f336f2.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo#908
No description provided.