Guys, under what conditions should calling :
SimpleMarkerOverlay.Markers.Remove(Marker)
throw the following exception:
System.Collections.Generic.KeyNotFoundException was unhandled by user code
Message="The given key was not present in the dictionary."
Source="mscorlib"
StackTrace:
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at ThinkGeo.MapSuite.Core.GeoCollection`1.RemoveItem(Int32 index)
at System.Collections.ObjectModel.Collection`1.Remove(T item)
By looking at object hashcode, it is the same marker instance I added earlier. It is also the same overlay instance I added the marker to earlier.
TIA.