On Sun, Sep 26, 2010 at 10:11 AM, cwgrc2 <ch...@transformsw.com> wrote: > I have built a simple app that uses a Google MapActivity. On top of > the Map, I have 2 overlays, a Marathon Course and the position of a > runner. The latter position overlay simply shows an updated blue > dot. I update the location of the dot every second but the screen > does not refresh. If I tap the scrren then the dot updates. > > Am I missing some hard refresh call somewhere? My Overlay code is > small and shown below. Note that it does go into the draw routine > every second and the point is changed.
You can call invalidate() on the MapView to force a redraw. That's probably not the most efficient solution, but it should at least get you something you can work from. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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