Searched around and haven't seen anyone complaining about this so I
guess I'll toss it out.  Our app uses a MapView and we create 4
instances of a custom ItemizedOverlay object and add all to the
MapView overlays.

Our app creates events and based on the event type, adds it to the
appropriate instance of the custom ItemizedOverlay.  Everything
displays fine, they each have a different marker so its easy to see
one set versus another.  The custom ItemizedOverlay has an overridden
onTap(int index) to show a Toast with some info about the item.

The problem occurs once there are events in 2 or more of the custom
ItemizedOverlay instances.  Tapping one of the markers causes the
other ItemizedOverlays to respond to onTap as well, regardless of
whether they are close on the map or not.

Has anyone seen anything like this?  Found a way around it?  I'm
wondering if the problem is the fact that all 4 instances are of the
same type but it still seems strange behavior.  Thoughts anyone?

Thanks,
Derek
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to