Issue
What steps do I need to take to draw an arrow on top of my mapview so that it will rotate in a manner so that it is always pointing towards my destination?
Solution
I would suggest you to update images according to the positions of the destination Do follow this post for reference
'android drawing path as overlay on mapview' (for Custom Overlays)
& after that call invalidate() from an UI thread or postInvalidate() from a non-UI thread on the MapView object you are using , to add items to your maps overlay .
This way(by invalidating the view & then draw()ing it again) you may position the arrow images to be updated with your destination
Answered By - 100rabh
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.