On Fri, Apr 23, 2010 at 9:26 AM, Scott <[email protected]> wrote:
> Isn't Itemized Overlay supposed to stack drawn objects... > Yes it is ... be default it will draw an image for each item in its collection. (super.draw()) > This is called everytime the locationchanged event triggers... > Right. > So It should be drawing multiple circles.. > Wrong. It should be drawing whatever you tell it to, which in this case is it's collection of icons (super.draw()) and exactly one circle (the rest of your code). > Instead i only ever see the newest one...They do not accumulate like i > wanted. > Because you're only drawing one circle, so that's what you get. draw() does not get called for each item in the list, it gets called once for the entire collection. It's up to you to iterate through your list of items and draw your circles at the desired locations. > Sorry if a canned answer for the PS part felt in order..I just threw that > in because I wasn't sure if it was a side effect or a seperate issue.. > Probably a separate issues. Most map crashes on tap issues are due to the way it selects items. You have to be VERY careful about how you select, unselect, and remove items from the list. The class does a terrible job in checking for and preventing these sort of issues. On Fri, Apr 23, 2010 at 9:36 AM, Scott <[email protected]> wrote: > I'd be happy to send you the Code > No, don't, I won't have time to look it over. > if I count on you not Hurting my feelings after you see the carnage I'm > doing to java whilst learning the language. > I can't promise that, but I mean well, I swear =) And if you're just learning the language, I'd suggest you try something that's "vanilla" Java (having nothing to do with Android) while you get the concepts and language down. Jumping into Android, especially the fairly-complicated and buggy Maps API, will have you ripping your hair out very quickly. Good luck. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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

