Questions tagged [bearing]
122 questions
0
votes
2 answers
How can I calculate getOrientation() without enabling compass?
I have a MapView with an ImageView with an arrow that points towards a specific location. I´m doing the pointing by rotating the ImageView, by calculating the bearing (orientation) of the compass by means of getOrientation() - the heading with…

Javier Mendonça
- 1,970
- 1
- 17
- 25
-1
votes
3 answers
OSMdroid Custom and rotating icon of current location
I am using OSMdroid to show an offline map with user's current location.
1) PREFERRED - I would like to change the default icon showing current location to a custom icon. Also I need it to change its rotation based on bearing returned from GPS lets…

Andrej S
- 61
- 8