Symptom
Markers of the map component are uniquely identified by their IDs. When multiple markers are assigned the same ID, all markers are still rendered on the map, but some operations trigger unexpected behavior:
Operations such as deletion and movement (e.g., MapContext.removeMarkers and MapContext.moveAlong) only take effect on the last marker with the duplicate ID.
Solution
During development, ensure that each marker is assigned a unique ID to maintain operation accuracy. It is recommended that auto-incrementing integers be used as IDs.