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
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
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
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
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
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
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
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
8 matches
Mail list logo