Thanks for your response Mika, but unless i am misunderstanding what you are saying, it is doing just that, that causes the laggy result. When i let the Overlay (super class) and map view handle which overlays should be visible in the mapView, it becomes so slow it is unusable.
Liam On Oct 1, 3:01 pm, Mika <mika.ristim...@tkk.fi> wrote: > What you could try is to use just one instance of your Overlay > subclass that includes all the 60 icons that you want to show on the > map. > > -Mika > > On Oct 1, 4:08 pm, Ne0 <liamjamesalf...@googlemail.com> wrote: > > > Not had any response, but my solution is to add a bit of intelligence > > to my activity to only add the overlays that would be displayed on the > > map currently visible by the map view. I have no idea about how the > > mapView goes about doing this, but it appears to be really slow at > > doing so. So i am going to let my activity take the strain and see if > > it makes it any better. > > > Any thoughts on this issue are still greatly received. > > > Liam > > > On Sep 28, 2:51 pm, Ne0 <liamjamesalf...@googlemail.com> wrote: > > > > My problem is my MapView becoming very laggy and so non-responsive at > > > times, that Android thinks its hit deadlock and tries to close it. > > > > I am adding 60 overlays to the map view and i originally thought that > > > the icon size may be causing the problem by using up all the memory. > > > When i decreased the overlay icon size, it did improve things, though > > > it is still to slow to be usable. Has anyone experienced anything > > > similar and have a workaround? There may be a better way of doing it > > > other then extending the Hello MapView example. > > > > Any thoughts welcomed. > > > > Thanks, > > > > Liam > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---