This is a migrated thread and some comments may be shown as answers.

Setting provider on another thread

1 Answer 27 Views
Map
This is a migrated thread and some comments may be shown as answers.
AdaDog
Top achievements
Rank 1
AdaDog asked on 21 Nov 2011, 06:48 PM
I have a WPF Map control in a UserControl initially having Visibility set to Hidden.  The provider for the map is set while its containing parent UserControl is hidden, and the Window holding the UserControl hangs for a long time (longer for lower Internet bandwith) waiting for the Provider setter to execute.  When I comment out setting the Provider property, the Window/UserControl loads quickly.  I tried to defer setting the provider until the UserControl visibility changes, but the setter is still slow and hangs the application.  Is there a way to set the provider on a separate thread or otherwise improve the performance of setting the Provider property?

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 24 Nov 2011, 08:44 AM
Hi Doug Simpson,

Unfortunately the map provider could not be initialized on a separate thread.

We are unable to reproduce the problem.
Could you, please, provide us with a small sample runnable solution which reproduces it?

Kind regards,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Map
Asked by
AdaDog
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or