Is it possible to rotate the map or heading?
Thanks
I'm guessing that you want the map to do the equivalent of always facing North, regardless of which way the phone is facing.
This is not possible as it would require access to a compass (or magnetometer) and no such functionality is available to 3rd party apps.
All but one devices released have a compass (apparently) but the need for one was removed from the chassis-1 spec late last year. I believe, the built in maps app supports the functionality you're after. Could you call out to that?
How about supporting landscape mode on your page so if you want the map and heading rotated you rotate the phone.
You can apply a RotateTransform
as the RenderTransform
for the Map
control in the same way that you can to any control.