This looks like a bug. When I turn multithreading option on WinformsMap, application locks.When I remove option, all works fine.
Here are details to reproduce: · Take your sample DesktopEditionSample_RulerOverlay_CS_100730 · Add option to Load_form: winformsMap1.ThreadingMode = MapThreadingMode.Multithreaded; · Start application. When you click, application hangs · When you break in debugger, it shows it is waining in method RulerTrackInteractiveOverlay. DrawCore on line Lock.EnterWriteLock();
Thanks for your post and reporting this, I have confirmed this problem, and our product team will dig in and find the root cause, I will post any result here asap.
Thanks for your query, form following test vedio for 7.0: screencast.com/t/v28n1SsbB, it could be seen that the map doesn’t flashes to white on pan and zoom.
Sorry, but version 7.0 flashes white screen when multithreading turend on. When I turn it off, it doesn’t. Seems more work needs to be done to fix this.
Would you please get the latest version to have a try. If the issue persists, would you please provide us a sample which can recreate the issue? I am just guessing if it is possible related with your environments like display?
It is quite simple… my test code is doing something like “GPS position moving + centering of screen on object with tolerance”. When screen needs update because object is close to screen edge, and layer is refreshed, it flashes white screen for a moment, then renders screen properly. It happens consistently is some tests, in some tests all works fine (no white flashes). Can’t figure why it sometimes works fine, but I can repro it at will. I got it on both WinXp and Win 7, regular desktop developer machines… It is up to you guys, I just think it is still there in 7.0… sorry about being a messenger with a bad news…
Sorry we still can’t recreate it or see the “white flashes”. We would thank you if you can take a video to show the behavior? or any codes would be highly appreciate.
Here is a video tool which is very useful and simple in case you need it. techsmith.com/jing.html