how to add point (Lat, Lng) in program from route

Mar 5, 2010 at 6:55 PM

Hi i appreciate this open source and I have one thing curiosity for position of route

I want to make a moving object in route between start and end marker.

I can get point by start and end. and also I can get the points however I need to use this value for velocity for a moving object.

Here is I did several time, set a start point and end point with 1km distance then I get only two of points list value.

Can i get bigger components of list for point of Lat, and Lng?

Mar 5, 2010 at 7:22 PM

if you have only two point, you can make route via MainMap.Manager.GetRouteBetweenPoints

Mar 5, 2010 at 7:45 PM
Edited Mar 5, 2010 at 7:46 PM

No i mean the within the route

I did make a route and


MapRoute route = GMaps.Instance.GetRouteBetweenPoints(start, end,

false, (int) MainMap.Zoom);

for (int i =0; route.Points.count; i++)

Console.WriteLine("position is {0}", route.Points[i]);


within the button3_Click() function.

I only get 4 points component from list with 3 km.

can i get more than 4 points. where do i need to change the cood  

Mar 5, 2010 at 8:32 PM

increase zoom ;}

Mar 5, 2010 at 10:16 PM

I have tried but it is not working where do I need to change ?

Mar 6, 2010 at 3:02 PM

in the second line of your code ;}