January 9th, 2013, 07:39 AM
Android Maps API v2 - approaches to marker rotation
We're porting an app from the v1 Maps API to the v2 API, and having trouble with markers.
We need markers that point in a specific geographic direction. In V1, we could build the bitmap pointing in the right direction at draw time, but in V2 the marker bitmap can't be changed.
I'm not sure if the best approach is to destroy and re-build all our markers when the map is rotated (which sounds like a performance problem), or to try drawing them all ourselves. That could be via a TileOverlay or via a view of our own that we sat on top of the map.
I don't really like any of these approaches. Has anyone tried any of them ?
January 11th, 2013, 05:19 AM
Try this link.might be it will help you.: http://stackoverflow.com/questions/14235336/android-maps-api-v2-approaches-to-marker-rotation
Last edited by hiker; January 11th, 2013 at 01:28 PM.
Reason: removed fake sig
January 11th, 2013, 06:06 AM