views:

95

answers:

1

Does anybody know the relationship between the members of an Android Itemized Overlay list and when draw() is called. Specifically, I'm trying to find out if draw is called once for each Overlay or once only for the whole set.

Thanks, R.

A: 

I overrode draw() in my ProjectOverlay extends ItemizedOverlay class and in it I loop though the population of the overlay list like so:

 for (int ctr = 0; ctr < overlayList.size(); ctr++)

I haven't tested other ways of drawing the screen, because this seems to be working fine.

Rich