Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Xamarin Forms Maps - Set bearing (using compass)

$
0
0

Hey Guys ,

I'm building a map centric app and having a small issue .

I am displaying my map and getting current location . I can see the blue dot on the map and the directional arrow appears sometimes .

However i can't find any way to set the bearing . (or set the arrow to the direction the phone is pointing at)

Such as in google maps app , when you move the phone around - you can see the user position showing a directional fog towards where the phone is pointing .

I am using the compass plugin and getting the compass reading between 0-360 , however i'm not sure how to add that to my map + user location to make the arrow point in that direction.

Any ideas how to proceed ?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>