Surely someone must have some experience or knowledge of this?

On Sep 23, 10:23 pm, Neilz <neilhorn...@googlemail.com> wrote:
> Hi all. Maybe I don't understand the concept of event handlers, but
> this doesn't seem to work the way I would expect.
>
> The Overlay class, and its subclass ItemizedOverlay, have a number of
> event handlers, which I've been playing around with:
>
>     onTap(GeoPoint p, MapView mapView)
>     onTap(int index)
>     onTouchEvent(android.view.MotionEvent event, MapView mapView)
>
> Now all these events seem to work fine, individually. But if you
> implement more than one of them, only one of them works. From my
> previous experience with events (from applets etc.) I don't recall any
> restrictions on the number of events that can be handled at once.
>
> For me, any one of these calls doesn't really give me enough info. I
> may want to know if someone has clicked one of my overlays, but I may
> also want to know if someone has tapped elsewhere on the map. What's
> going on here, am I missing something?
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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