As far as I can tell, there is no way to undo if you accidentally delete a location. It also doesn't ask you, "Are you sure you want to delete this location?"
It would be a shame if you lose the exact coordinates of a location. It's a memorable part of your entry.
Diarium version: 3.0.77
Operating system: Android
Device model: Xiaomi phone