How to Rotate Map View from the user current position in android -
i pointing user current location bottom center in android map view.so user able see north side map , not able see south side app.if user turns towards south user should see south side map.
i getting bearing angle of user using sensor manager.if rotate map current position of
the user changes bottom center how can handle this.
please me.
i recommend using mapview.setrotation(float bearing)
. that's use (i have app similar yours). i'm not sure api level introduced in, works me (2.3.4). make sure call mapview.invalidate()
after you've rotated map.
Comments
Post a Comment