On Mar 15, 6:11 pm, jsdf <[email protected]> wrote:
> On Mar 15, 5:24 pm, jsdf <[email protected]> wrote:
>
> > Hi everyone,
> > My application has a MapViewActivity that periodically refreshes the
> > points on the map by polling a server.
> > On the emulator, when the refresh occurs, the populate() method
> > redraws the points on the screen, and the objects appear to move on
> > the map.
> > On the G1, however, populate() does not move on screen. Only after I
> > touch the map with my finger will the objects be moved on the map.
>
> > I've perused MapViewActivity but haven't found anything that would
> > show this difference. Is there a setting indicating this behavior
> > that anyone is aware of?
>
> Correction: the map points do not update when the debug map key is on
> a debug device (e.g. emulator), or when the production map key is on a
> production device. A production map key on a debug device updates
> correctly, but you cannot see the underlying maps.
>
> Still investigating, thoughts welcome.
And the answer: invalidate() the MapView.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---