Thursday, September 29, 2011

[android-developers] Re: I have a map and it is necessary to put more than 1,000 objects.

you can do that but that's not really necessary. The map API already does that for you (figure out which overlay items are visible and render them). Your issue may be elsewhere in the code.

What you can do is put the overlay populating code into a separate AsyncTask or thread. That way the users don't have to wait until all overlay items are loaded.


--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment