move a marker on a map

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

move a marker on a map

Postby titirct » Tue Jun 22, 2010 10:46 am

hello everyone, i saw this post on a blog about how to move a marker on a map.
This tutorial works great on my simulator but it doesn't worked on my phone.
I've try on different phones and i got the same result.
I don't understand what could be the cause of this problem.

If someone has try this and find a solution i'll be happy to know it.
The link is :

http://android-er.blogspot.com/2009/12/ ... pview.html

thanks...
titirct
Freshman
Freshman
 
Posts: 2
Joined: Tue Jun 22, 2010 10:34 am

Top

Re: move a marker on a map

Postby cnbishop » Wed Jun 23, 2010 6:34 am

i tried and i get an error about the api level of my device versus what is required for the app. i am not sure how to fix that...or if i can at the moment. will let you know...

also, is it possible to actually animate the marker on the map to a new location without touching a new location?

thanks!
cnbishop
Freshman
Freshman
 
Posts: 8
Joined: Wed Feb 10, 2010 12:26 am

Re: move a marker on a map

Postby titirct » Wed Jun 23, 2010 1:50 pm

Actually with the developper we find a solution replacing ontouchevent() by ontap which return a boolean.
you can find the method here :http://android-er.blogspot.com/2010/06/problem-of-ontoucheventmotionevent.html
It works great returning true or false if one doesn't works.

I hope I help you.
titirct
Freshman
Freshman
 
Posts: 2
Joined: Tue Jun 22, 2010 10:34 am

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 2 guests