You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using both WinForms and WPF control in one application, GMapControl.DrawMap throws an InvalidCastException because it expects an GMapImage of the namespace GMap.NET.WindowsPresentation but gets one from GMap.NET.WinForms. This happens (probably) because when drawing the control the overlay property inside the tile objects hasn't been updated yet. As of my understanding this happens not synced with the drawing thread. When stepping through the code it is possible that the exception does not happen.
I was using the nugget package in version 2.1.7.
The text was updated successfully, but these errors were encountered:
Hello,
when using both WinForms and WPF control in one application, GMapControl.DrawMap throws an InvalidCastException because it expects an GMapImage of the namespace GMap.NET.WindowsPresentation but gets one from GMap.NET.WinForms. This happens (probably) because when drawing the control the overlay property inside the tile objects hasn't been updated yet. As of my understanding this happens not synced with the drawing thread. When stepping through the code it is possible that the exception does not happen.
I was using the nugget package in version 2.1.7.
The text was updated successfully, but these errors were encountered: