I have a MapView which utilizes and ItemizedOverlay to draw map
markers to the map. The application stores the markers for later use
in a database and in the mOverlays OverlayItem ArrayList. This works
fine for adding new items, but removing items from the ArrayList
shrinks the arraylist and throws off the indexes.. I tried to
circumvent this by using a regular OverlayItem Array but then I run
into the issue of not being able to create a dynamic array to support
the ever changing amount of items. How can I get around this so the
indexes are always constant and the onTap method works properly when
adding AND removing items?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---