简体   繁体   中英

Applying transitions to MapControl on Windows Phone 8.1

I'm writing a small app for a GIS project and I wanted to animate my map in application.

To display a map I'm using Windows.UI.Xaml.Controls.Maps.MapControl , and there is hard to find useful examples for this element, because it's new in Windows Phone 8.1.

And now I would like to ask how to animate the map. I've tried to apply an transitions (from Windows.UI.Xaml.Media.Animation.*) to my MapControl element, but some of them cannot be added or doesn't work.

I will be very grateful for any advices. Thanks.

I don't believe their is any built in method for doing transitions/animations, however you might be able to port over some the functionality I created for the Bing Maps JavaScript control to WP. You can find a blog post here:

http://blogs.bing.com/maps/2014/08/07/bring-your-maps-to-life-creating-animations-with-bing-maps-javascript/

I also wrote a C# version for Bing Maps Win8 here:

http://blogs.bing.com/maps/2014/09/25/part-2-bring-your-maps-to-life-creating-animations-with-bing-maps-net/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM