0

In my project I should rotate the marker on a google map same as the compass functionality in android ,my doubt is should I use an imageview or can I rotate the marker directly.Help me out guys if any mistakes please don't mind I'm a newbie.

1 Answers1

1

You can rotate the marker directly using this

Animate the rotation of the Marker in google map v2

In sensor manager use this :

Android: Problems calculating the Orientation of the Device

Community
  • 1
  • 1
Melvin Mauricio
  • 387
  • 1
  • 6