I haven't been able to drag but I have been able to use these methods to
pick the marker and then remove and re-insert into the ItemizedOverlay.   If
anyone does have code for dragging please post.  I would rather do it that
way then the dumb work around I have now.  Plus it looks much cooler!

On Fri, Jun 5, 2009 at 8:16 AM, Patrick <patrick.ka...@gmail.com> wrote:

>
> You can use an ItemizedOverlay to add to the maps overlay collection.
> Then handle the onTouchEvent and onTap which have MotionEvent. By
> handling these events you can see which object in the overlay has
> focus or has been tapped and implement your own moving of the overlay
> objects (drawables with geopoints). Using the Projection object of the
> map you can convert from xy touch coordinates into geopoints to set
> your overlayitem. I don't know if this is the best way to handle it
> but it worked for me.
> >
>

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