[kml] [bookmarks] Make the categories, bookmarks, tracks identifiable across devices, sessions, platforms etc. #8164
Labels
Bookmarks and Tracks
Bookmarks, imported tracks, and KML, KMZ, KMB, GPX import or export
Core
Cross-platform C++ libraries with a core functionality
Refactoring
Issue description
While developing #7641 and #7978 I faced a blocker problem when the categories, tracks, and bookmark IDs are
int
s that temporarily created during only the current session and incrementally updated during the every bm reloading.Some examples:
How this works step-by-step (simplified):
There can be other examples, but the point is that kml's content isn't identifieble even during the one session in some user flows.
You can check the code starting from the:
The possible solutions:
1. Create the UUID and add it to the kml as a new field
Pros:
Cons:
2. Use the calculated hash as an ID based on the:
Pros:
Cons:
@organicmaps/contributors
Please share your thoughts! This is a blocker for several tasks.
I will update this description based on your ideas.
The text was updated successfully, but these errors were encountered: