Thursday, April 5, 2012

[android-developers] Re: rotating map

Yea, I realized that was going on. I wasn't sure if perhaps the MapView had a mechanism to correct itself (when it initially draws it appears to orient text correctly) that I am missing.

Or if the overall approach that the sample provides just can't work.

Has anyone properly gotten the maps to rotate?

On Thursday, April 5, 2012 5:55:32 PM UTC-4, lbendlin wrote:
Maybe you haven't realised it yet, but the Google Maps API serves map tiles (unlike the Google Maps app that uses vector data).

So the text is part of the image, and rotates with it.

On Thursday, April 5, 2012 11:33:00 AM UTC-4, RedBullet wrote:
So, I successfully took the MapView sample that demonstrates rotating a map based on device orientation.

What I am not liking about it is that the text and such are rotating with the view. So, when you turn 180 degrees all the text is upside-down.

I am wondering if perhaps I missed something in my implementation? Maybe I need to invalidate a view or something?

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate