Hello,

could anyone point me to some documentation or code on what's "the
official" way to handle events on a mapview or within a mapactivity? I
have searched around, there seem to be lots of questions regarding
this issue, few answers, and every answer is different.
As an example, I want to do something similar to the MyTracks
application: on a touch on the map, the builtin zoomcontrols appear,
panning still works, and in addition, other controls (the next/prev)
buttons are shown.

It seems I cannot achieve the desired effect using standard event
handlers, e.g. I could not get it to work by setting an
onClickListener or onTouchListener and implementing onClick()/onTouch
().

What is not clear to me:
- do I have to go directly to using overlays to achieve such an
effect? I understood overlays are more intended to display data on
maps, as opposed to controls?
- do I have to subclass mapview or mapactivity or both?
- is there a way without extending mapview, mapactivity and just
employing the standard event handling interface?

Thanks
Martin

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