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).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.