I just received this response:

"Override a ViewGroup and apply the rotation in dispatchDraw()."

Thanks Romain!


On Dec 8, 12:43 pm, David C <[email protected]> wrote:
> "Bump"....  can anyone provide insight here?
>
> Did the MapView onDraw() API change to "final" at some point? If the
> recommended method to rotate a MapView is canvas.rotate() how can that
> be achieved if not via onDraw()?
>
> Personally I'd prefer to see the MapView API extended to support
> "setBearing()" or something similar, but nothing like that exists.
> <sigh>
>
> On Dec 7, 11:23 am, David C <[email protected]> wrote:
>
> > A few threads have discussed using canvas.rotate() as a means to
> > rotate a MapView. However, onDraw() is declared "final" for MapView
> > and so can't be over-ridden. Is there an alternative way to manipulate
> > the MapView canvas than from onDraw()?
>
> > Thanks,
> > David
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to