Thx for reply.

How can i preprocess the drawing event of a drawable-object and only
return the result to the OverlayItem? I think, this can be a solution
for my heavy load problems.

regards

On 3 Mai, 16:26, JP <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to