lazy loading on the UI thread

Nov 29, 2010 at 5:49 AM

I have noticed that when using the WPFTouchVEMap control, it actually takes a while to load up which blocks the UI thread, can this be avoided in anyway?

My situation calls for me to add dynamic items to the screen each containing a map control, so when I add the item, the app locks up for 3 - 5 seconds, which is less than ideal as you can imagine :)

Any help is greatly appreciated

Nov 29, 2010 at 5:54 AM

You can only have one instance of a Bing Maps 3D control anyway per application, so you might need to rethink your scenario.

There's not much that we can do about loading time since InfoStrat.VE is a wrapper for Bing Maps 3D. The Bing Maps 3D control takes up most of the initialization time internally.

Nov 29, 2010 at 6:03 AM

Ah I see, well what I might do then is have it loaded on app start-up and then, re-use/display it when I need to :)