hej,
I noticed the same thing that draw method is called several times
after zooming the map view and each time 0,0 coordinates are updated.
and I noticed also that if I create my path and draw it to the bitmap
for a first time when zoom change then shape is completely wrong
(sometimes it is ok) so I guess I should wait till the last call to
draw method. so for this checking 0,0 probably would help.

BUT

I dont understand how you detect that a user moved map. then 0,0 will
also change but this is what we expect and you dont want to recreate
your bitmap every time user search specific location for set zoom, you
just move bitmap to offset computed between last 0,0 and current 0,0

maybe I missing something from your code or maybe I should set some
listener on mapview. i m developing for Level 7 API.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to