Wednesday, July 6, 2011

[android-developers] Re: Rotate Google Map

Hi,

Lookup compass sensor, View Group & View.draw().

Put the map view in the bottom of the view group, on top put a custom
view, ask the map view to draw() into the canvas of the custom view,
rotate the custom view based on the compass sensor.

Be aware that this might obscure the Google logo in the map view which
may be against the terms of use.

Regards

On Jul 6, 12:19 pm, lbendlin <l...@bendlin.us> wrote:
> Still not clear. If the user turns right the map needs to turn left, no?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment