Overlaying an arrow to always point to my direction in Android MapView
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?
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
精彩评论