geoadmin / web-mapviewer

The viewer application for maps and geodata
https://map.geo.admin.ch
Other
62 stars 11 forks source link

PB-750 : adapt CSS to enable browser print of the map - #patch #992

Closed pakb closed 1 month ago

pakb commented 3 months ago

with only the layer attributions and eventual feature tooltip visible (no menu, no footer)

Had to adapt a bit the OpenLayerMouseTracker component so that it has a root HTML element (on which we can apply a class from the component using it)

Test link

cypress[bot] commented 3 months ago



Test summary

208 2 21 0


Run details

Project web-mapviewer
Status Failed
Commit b32db55dd0
Started Aug 8, 2024 6:29 AM
Ended Aug 8, 2024 6:34 AM
Duration 05:33 💡
OS Linux Ubuntu -
Browser Electron 118

View run in Cypress Cloud ➡️


Failures

layers.cy.js Failed
1 Test of layer handling > Copyrights/attributions of layers > only show once each data owner (attribution) even when multiple layers with the same are shown
importToolFile.cy.js Failed
1 The Import File Tool > Import KML file

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

pakb commented 3 months ago

I will try to add the scale line too

pakb commented 1 month ago

Requires a ton of work to achieve a map print without breaking the tooltip print. I won't be pursuing this more, and focus on more pressing issues