Thanks for your reply. I try to use invalidate method. But I have one more problem when I use invalidate. If I invalidate the map, my location overlay image is gone, and it takes few seconds to fix my location overlay Image. So I want is not to clear the my location overlay image. when i clear the overlay image, I can clear without my location overlay image. is there any way to invalidate without clearing my location overlay image.
regards NBS On Wed, Jul 14, 2010 at 8:00 PM, Mark Murphy <mmur...@commonsware.com>wrote: > On Wed, Jul 14, 2010 at 4:40 AM, Bhaban N <and...@gmail.com> wrote: > > I am new on android and I am trying to use map on my application. > > I am facing some problem on refreshing the overlay image. > > Whenever I redraw the overlay Image, I clear the previous overlay images > and > > redraw the new items on it. > > But the overlay images are not refresh on the spot. It refresh some > seconds > > later. > > OR if I touch the screen, I refresh immediately. I think I should call > some > > method to refresh the overlay images but I couldn't find. > > Please help me if anyone has any idea about my problem. > > Call invalidate() on the MapView. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 > Available! > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en