I put got dozens on a map in a single layer. Your onDraw() should not include "expensive" operations such object creation.
On May 3, 4:30 am, androidcrew <[email protected]> wrote: > i created a ItemizedOverlay and add 20 items on it. the result: the > preformence of the map is so worst. but i do not understand why. are > 20 items to much? the 20 items are all drawable and created by a own > class. > > what is more efficient: several items on a single layer or several > layer with a single item? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

