Now this patch is working for me.
A few comments:
- The clipping problem during rotation was because I didn't call the
invalidate() function after changing rotation. I am almost sure a
invalidate call is needed somewhere at the initialization of andnav2
map, to remove this clipping problem which exists when the application
start.
- There was a bug in RotationView. The matrix needed the center of
the rotation. I just added it.
If you want to do a zoom, you have to put both finger near or far from
the center.
If you want to do a rotation, you have to put both finger in the
middle of the screen.
Let me know your comments. I will try to find out where the invalidate
call is missing.
Thanks
--
Fabien Carrion
() Campagne du ruban ASCII -- Contre les mails en html
/\ contre les pieces-jointes Microsoft
Web: http://fabien.carrion.free.fr/