Hi.
Recently I got an unidentified mysterious problem while trying to call Refresh() method in WinformsMap. Inside WinformsMap there’s only 1 LayerOverlay object consisting of 3 MsSql2008FeatureLayer (all are not empty), 3 InMemoryFeatureLayer (only 1 is used), a scale bar in its AdornmentOverlay, a LegendAdornmentLayer, and an MiniMapAdornmentLayer (taken from official example).
Due to unseparatable files in the project, I couldn’t attach an example to reproduce the error. But here is the screenshot of the exception StackTrace. I couldn’t pinpoint what caused it as in another method, it works flawlessly.
Thank you for your attention.