If you search for something, save it as a bookmark, then search again, and save again, you have a double bookmark.
Two options I see:
1) Use osm id as the id in the file. Prevents duping. - Problem is with markers you add with the context menu, without searching. But, maybe those could just have a randomized ID.
2) Check by latlng when returning search results, and stop it from happening.
If you search for something, save it as a bookmark, then search again, and save again, you have a double bookmark.
Two options I see:
1) Use osm id as the id in the file. Prevents duping. - Problem is with markers you add with the context menu, without searching. But, maybe those could just have a randomized ID.
2) Check by latlng when returning search results, and stop it from happening.