Tuesday, 17 September 2013

Google Map Heading Marker or Indicator

Google Map Heading Marker or Indicator

The "Google Maps" app in Jellybean has an indicator which adjusts based on
the way you're facing. I am interested in implementing a similar indicator
but for multiple indicators.
Does anyone have an idea on how they implemented their heading indicator
(note it maintains its heading even when the map is rotated). I attempted
my own approach using markers, then I realized that markers will not
rotate with the map (kind of an oh duh moment after a few hours of
labor...)
So as of right now I see two solutions:
Capture map rotation and transfer it to the marker
Draw over the map using OpenGL
Could anyone offer any advice before I start down another rabbit hole?
Thanks!

No comments:

Post a Comment