Reputation: 978
I'm using the XAML MapControl in Windows Phone 8.1 RT application. I have embedded the map on a page using <maps:MapControl>
.
My problem is that whenever the page loads, the map control blacks out for a split second before displaying the actual map, thus providing a bad UX. I tried setting the opacity of the control to 0, and reset it to 1 in the Loaded
event, but even then the map blacks out.
I have to wait for sometime in the Loaded
event, say by using await Task.Delay(200)
before resetting the opacity to 1 to solve the issue, but it's a hack.
How do I workaround this problem?
Upvotes: 1
Views: 159
Reputation: 1775
You can use the LoadingStatusChanged
Event to change the opacity of your map control ..
Good luck :)
Upvotes: 1