Moving marker between 2 points

Topics: General
Oct 31, 2012 at 2:33 PM

Hello ,

I would like to draw the marker to follow a route line (the one used by the pen in the Stroke).

I have 2 gps points for this route.

I try with : GMapProviders.GoogleMap.GetRoute without luck, since it seem to follow a logic.

Seem no way to have points in a straight line  between 2 points as long as I know.



Oct 31, 2012 at 2:59 PM

just add these two point and you'll get the straight line

Oct 31, 2012 at 3:09 PM

This will not give me the points between them right?. I want to make something like a vehicule moving on the route. I pretty sure someone already try that.

Oct 31, 2012 at 3:15 PM

well usually vehicles move on the roads, unless it's a plain

Oct 31, 2012 at 3:25 PM

It's a train project for the company I work for, Im trying to find something to have all gps point between 2 points, or convert the pen line coord points to long,latt .

Oct 31, 2012 at 3:30 PM

is it's gps points, why do you need more points in between?

Oct 31, 2012 at 3:38 PM

It's only for visual demonstration , I  want to make the train move between the location following the route.

Oct 31, 2012 at 3:43 PM


you can use these formulas

Oct 31, 2012 at 4:05 PM

Thanks I think this one will do the job : Destination point given distance and bearing from start point