Closed Hedaja closed 6 days ago
Hi, and thanks for taking the time to open an issue. We've just had a look and cannot find the button you're talking about (I don't see an "Empty" button or link).
Do you see the same thing as this screen capture shows? If not, could you please share a capture as well?
It can also be because of the translation, or the naming choice on our side, do you think the label is explicit enough? :thinking:
Thank you for the quick replay.
That's strange. I actually have more options displayed (no matter if German or English interface).
Maybe I see more because I am the owner of map. I tried to set full permissions to all other users as well though.
The German umap instance is running umap 2.4.0 by the way.
Hey, just found the button you're talking about, and have been able to reproduce locally.
(At least the button is here).
Tagging @davidbgk and @yohanboniface if they want to chime in, as we had a redesign of the datalayer explorer lately (it might be related). FWIW, I've checked and it doesn't seem related to the syncing changes.
No, nothing to do with recent changes imho. This seems the expected behaviour (the button calls the Map.empty
method), but this behaviour could obviously be challenged. Specifically as we also have a "delete all layers" button.
Let's have two methods, one to empty the datalayers (but keep them), and the other on to delete the layers and data.
Let's have two methods, one to empty the datalayers (but keep them), and the other on to delete the layers and data.
Awesome that's exactly what I was hoping that the button would do. I have a map with over 50 filled layers and want to make it a blueprint file, therefore deleting all the data within those layers =)
@yohanboniface so we would have both Empty map
(removing layers completely) and Empty all layers
(erasing inner data but keeping the structure)?
so we would have both Empty map (removing layers completely) and Empty all layers (erasing inner data but keeping the structure)?
Yes! Maybe "Clear data" / "Remove layers" ?
Describe the bug When data gets emptied through the map settings menu, all layers are deleted as well.
To Reproduce Steps to reproduce the behavior:
Expected behavior Keep layers but delete all data (points/lines/areas) within them.