0

Is it possible to rotate the map or heading?

Thanks

rbrundritt
  • 16,570
  • 2
  • 21
  • 46
Roger
  • 2,063
  • 4
  • 32
  • 65

3 Answers3

1

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?

Matt Lacey
  • 65,560
  • 11
  • 91
  • 143
0

How about supporting landscape mode on your page so if you want the map and heading rotated you rotate the phone.

Steve Chadbourne
  • 6,873
  • 3
  • 54
  • 82
0

You can apply a RotateTransform as the RenderTransform for the Map control in the same way that you can to any control.

Derek Lakin
  • 16,179
  • 36
  • 51
  • yup, this worked well. incresed the size of the map so you don't see the edges when it rotates – Roger Mar 24 '11 at 22:22