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).
Asked
Active
Viewed 1,403 times
1 Answers
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
-
i already saw these answers i want the overly that indicate the current position indicate the orientation not just add a compass in the corner of the map! – DaRkNight Sep 10 '12 at 15:18
-
You want the overlay that indicates the current location would look like a compass pointing to the north? – La bla bla Sep 10 '12 at 15:19
-
yes that's it look like a compass!! sorry for my english if i didn't explain it well ! – DaRkNight Sep 10 '12 at 15:23
-
Edited my answer. check it out. – La bla bla Sep 10 '12 at 16:15