[android-developers] Re: MapView Draggable Objects

2009-06-05 Thread Patrick
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

[android-developers] Re: MapView Draggable Objects

2009-06-05 Thread Wayne Wenthin
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

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Zoltán Kisgyörgy
yes, for more information look at the official mapview tutorial: http://developer.android.com/guide/tutorials/views/hello-mapview.html http://developer.android.com/guide/tutorials/views/hello-mapview.htmlat the end there are also about markers 2009/6/4 Alexander Davis alexdavisspec...@gmail.com

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Alexander Davis
Yup there is info about markers, but what about making the markers draggable? I don't see anything... On Jun 4, 11:28 am, Zoltán Kisgyörgy zoltan.kisgyo...@gmail.com wrote: yes, for more information look at the official mapview

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Zoltán Kisgyörgy
Found something that might help you: view-source:http://code.google.com/apis/maps/documentation/examples/marker-drag.html view-source:http://code.google.com/apis/maps/documentation/examples/marker-drag.htmllook at the source of the site, its javascript but maybe the one in Android is also the

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Brian Smith
It looks like it, yes. It also looks like a custom overlay that the developer wrote in order to make that work. Looking at the docs for the maps library, I don't see any overlay classes for doing that sort of thing, but you can always extend the base Overlay class and roll your own. That class

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Alexander Davis
Yeah, thats what I have gleaned from the other group posts. Thanks for the info, I appreciate it. I'll look into it more and maybe make my own package to make this easier. Alex On Jun 4, 2:54 pm, Brian Smith avalo...@caerleon.us wrote: It looks like it, yes.  It also looks like a custom

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Alexander Davis
I should add that this is in no way closed. If you have a workaround, please poast! On Jun 4, 3:22 pm, Alexander Davis alexdavisspec...@gmail.com wrote: Yeah, thats what I have gleaned from the other group posts. Thanks for the info, I appreciate it. I'll look into it more and maybe make my