I am receiving an intermittent error when zooming in on the map. The specific message is "KeyNotFoundException was unhandled - The given key was not present in the dictionary."
Here is the code I am executing when the error occurs:
protected void btnZoomIn_Click(object sender, EventArgs e) { mapMap.ZoomIn(35); mapMap.Refresh(); }
Here is the stack trace after the button click event:
at ThinkGeo.MapSuite.DesktopEdition.Overlay.Draw(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.x03e3d48bcfe7bb6c(IEnumerable`1 xa6f0db4f183189f1)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.xff5b27c00f9678c2(RectangleShape x178b193eec228e6e)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.xe3cee4adb9c72451()
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.x9ac8c50f434f4b39(Int32 xb565f4681f05557a)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.Refresh()
I have not been able to reliably reproduce the issue. I will continue to see what I can do to determine the situation needed for failure. Machine is Win7 Pro 32bit English. Any ideas what may be the cause of this issue? I could understand this error if I was calling refresh on a specific overlay that did not exist, however I am refreshing the entire map.