TreKing: I'm downloading contextual overlays that can't be stored on the device. So, when the ACTION_UP happens I use projection to determine where the mapView is pointing and start the overlay download. I have a feeling that the overlay downloads are competing with the Google Map tile downloads for the data connection. This interleaving of the overlay draw and the Google Map draw is causing the issue. Your stored overlays are probably written to the overlay list before the first Google Map tiles arrives. If I knew when each Google Map tiles starts and stops its download, I could use synchronization techniques to schedule overlay downloads (this is how it Google Map works on iPhone). Better yet, an indication when all the "in view" Google Map tiles have been downloaded would be great.
On Tue, Nov 16, 2010 at 10:17 PM, Adam Hammer <adamhamm...@gmail.com> wrote: > I could use this too, I render maps to a offscreen bitmap and then > render it on-screen using opengl. Knowing when the current map area is > downloaded would be very useful. I currently use a exponential falloff > for refreshing/binding the textures which seems to work pretty well, > but if I knew as data became available I could do much better. > > Adam > > On Nov 16, 5:52 pm, TreKing <treking...@gmail.com> wrote: > > On Tue, Nov 16, 2010 at 12:07 PM, John <jarvi...@gmail.com> wrote: > > > If my overlays are downloaded first, as new Google Map tiles arrive, my > > > overlays get removed or the whole map blinks. > > > > Can you elaborate on what you're doing? I use a map view with locally > stored > > images (no downloading) and they ALWAYS show up first on the map and > there's > > never any problem with the rendering. > > > > > ------------------------------------------------------------------------------------------------- > > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > > transit tracking app for Android-powered devices > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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