Problem solved. Had nothing to do the 'setCenter()' fn. Problem was with the way I was computing my angle/orientation updates: when the map is recentered, the user's cartesian coords are also automatically shifted, so must use geodesic info instead.
On Dec 21 2008, 8:46 pm, DMT <[email protected]> wrote: > It seems that invoking the .setCenter(mygeopoint) method on a > MapController object has the side effect of setting the orientation of > any rotated bitmaps back to the original orientation. Has anyone else > also experienced this? > > My problem is that I'm writing a map application that needs to rotate > an arrow bitmap to point in the direction of the cellphone's motion, > and I want to periodically automatically re-center the map so that the > user's position does not drift off the map. > However, each time I call 'setCenter(mygeopoint)', my arrow bitmap > "unrotates" back to its original heading, therefore the user loses the > directional information. > > Anyone found a workaround for this problem? > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

