c# - Rotating map control in direction of travel, Windows Phone -
i count route , watch user's current location , when begins move, want rotate map in direction of travel. how can this?
thanks in advance! , sorry bad english ^^
you can literally apply rotatetransform map control , use compass sensor (magnetometer) direction of travel.
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202974(v=vs.105).aspx
please read "determining compass orientation mode" section of above link.
Comments
Post a Comment