dymaptic / GeoBlazor

Core Components for the Dymaptic GeoBlazor Library
MIT License
109 stars 19 forks source link

Graphic IDs Become Inconsistent After Map Operations #303

Closed CyberDNS closed 9 months ago

CyberDNS commented 9 months ago

We have encountered an issue where graphic IDs are not staying consistent after performing various operations on the map. This inconsistency can lead to problems when trying to reference or manipulate graphics based on their ID, as these IDs can change unexpectedly, affecting the reliability of hit testing, layer management, and other functionalities reliant on stable graphic identifiers.

Steps to Reproduce:

  1. Add a graphic to a GraphicsLayer on a MapView.
  2. Use a hit test or similar method to retrieve the graphic based on its location.
  3. Observe that the ID of the graphic retrieved does not match the original ID assigned when the graphic was added to the map.