0

The problem is that I made an overlay that indicates the current position but now I want the overlay to indicate the orientation of the phone and by clicking it the map rotate to indicate the orientation (just like in Google Maps app).

Michaël
  • 3,679
  • 7
  • 39
  • 64
DaRkNight
  • 188
  • 12

1 Answers1

0

Check this question how to add compass to mapview and its answer

For further questions, Please post what have you tried so far. also, please consider google. This answer is the first result for the query 'android add compass to mapview'

This might now be exactly what you want, so if it's not, please consider updating your question to explain better.

also check this out Adding Compass to Rotate MapView it has a sample project there.

EDIT:

https://stackoverflow.com/a/753847/975959 This appears to answer your question.

Community
  • 1
  • 1
La bla bla
  • 8,558
  • 13
  • 60
  • 109