On Mon, Jan 17, 2011 at 10:43 AM, bobetko <[email protected]> wrote: > The thing is, my Nexus One can't handle map with all those markers. > It takes around 15 seconds just to draw 500 markers. Then when all > drawn, map is not quite smooth. It is sort of hard to zoom and > navigate around. It can be done, but experience is bad and I would like to > see if something can be done there. >
First, the code you posted you're calling populate() each time you add a new overlay to your list. That's slow. Add all of you items into the list, THEN call populate ONCE to prepare for drawing. Second, I sincerely hope the code you posted is not what you're doing each draw call. Third, see this thread for a similar discussion: https://groups.google.com/group/android-developers/browse_thread/thread/c0d255c561ea6544?pli=1 ------------------------------------------------------------------------------------------------- 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 [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

