Real-time rotation of the Windows Phone 8 Map Control
m (Ltuska - - →New features in Windows Phone 8 Maps API) |
m (Ltuska - - →Motivation) |
||
| Line 6: | Line 6: | ||
== Motivation == | == Motivation == | ||
| + | Windows Phone 8 comes with a new Maps framework, and provides extended functionality compared to the Windows Phone 7.1 Maps components. One of these new features is that the developer can set the "Heading" property of the Map control. This property is described on the [http://msdn.microsoft.com/en-US/library/windowsphone/develop/jj207045(v=vs.105).aspx Maps and navigation for Windows Phone 8] page as: ''This parameter specifies the directional heading that is pointing “up” on the map. It is represented in geometric degrees by a value that is between 0 and 360, indicating the number of degrees to rotate the map.'' | ||
== Preparation == | == Preparation == | ||
Revision as of 12:13, 9 December 2012
This article explains how to rotate the Windows Phone 8 Map Control object real-time. The provided solution uses the Touch class to react on FrameReported events. It also shows a relatively simple way to test multi touch behavior using the Windows Phone 8 emulator.
Contents |
Motivation
Windows Phone 8 comes with a new Maps framework, and provides extended functionality compared to the Windows Phone 7.1 Maps components. One of these new features is that the developer can set the "Heading" property of the Map control. This property is described on the Maps and navigation for Windows Phone 8 page as: This parameter specifies the directional heading that is pointing “up” on the map. It is represented in geometric degrees by a value that is between 0 and 360, indicating the number of degrees to rotate the map.
Preparation
New features in Windows Phone 8 Maps API
How to test multi touch in the emulator
How the easy way should look like...
The solution
Conclusion
References
Windows Phone Multi-Touch Manipulation
How to handle manipulation events for Windows Phone
Building Apps for Windows Phone 8 Jump Start-Maps and Location in Windows Phone 8
'

