geoadmin / web-mapviewer

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

PB-802: Edit the geoadmin drawing on top - #patch #1000

Closed ltshb closed 2 months ago

ltshb commented 2 months ago

On the old viewer if you would manually import multiple geoadmin drawing (drawing from our prod backend), going in the drawing menu would copy the drawing on top of the layer list.

On the old viewer however it would take the top drawing layer even if it is not visible. However this don't make sense and is disturbing because in this case if the drawing is invisilbe when opening the drawing mode it is still invisible until you add the first feature and then the copied feature would sundely appear making very unintuitive. Therefore now we only looks for visible drawings.

Test link

cypress[bot] commented 2 months ago

Passing run #2956 ↗︎

0 211 21 0 Flakiness 0

Details:

PB-802: Edit the geoadmin drawing on top
Project: web-mapviewer Commit: 1501ff0a44
Status: Passed Duration: 04:42 💡
Started: Jul 10, 2024 3:05 PM Ended: Jul 10, 2024 3:10 PM

Review all test suite changes for PR #1000 ↗︎