posm / OpenMapKitAndroid

http://openmapkit.org
BSD 3-Clause "New" or "Revised" License
128 stars 38 forks source link

Clear edits #38

Closed dalekunce closed 9 years ago

dalekunce commented 9 years ago

Need a way to clear accidental edits of a feature.

Users sometimes click on and complete form for wrong feature. Need the ability to click on a feature and clear all the changes.

hallahan commented 9 years ago

Adding a Cancel button via #15

hallahan commented 9 years ago

I'm thinking this should actually happen in ODK Collect. I think it will make sense to but a button in there since that is where you see the file name of the edited OSMWay.xml. There would be a button to simply delete that file, which is the edit, and then you can launch back into OpenMapKit to select a new feature.

hallahan commented 9 years ago

Turns out it keeps writing more OSM Files to the ODK directory. Need to fix this.

screenshot 2015-04-07 12 10 46

hallahan commented 9 years ago

The button now shows this, and when you redo your tag, saving will delete the old file. Need to implement that logic in OpenMapKit.

asdfasdf

hallahan commented 9 years ago

Ok, done.