I have a MapActivity, and an Overlay on its MapView on which I draw some
graphics (picture at
http://www.tbray.org/ongoing/When/200x/2009/01/01/FeedMapper).  I handle
touch events on the map and display popups.  I am having all sorts of
problems because MapActivity makes its own MapView so I can't get in and
subclass its onTouchEvent methods.  So I'm having to intervene in the
Activity's dispatchTouchEvent, which has incorect x/y co-ords for the
MapView and creates all sorts of problems when I display a popup over the
map and try to make sure its buttons get the touches as opposed the what
might be on the map underneath them.

Is there any way to inject my own overridden MapView or otherwise get at the
existing one's onTouchEvent()?  Without this, it's really hard to do
interactive map-based graphic apps starting with MapActivity.  -T

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to