VDS Technologies

 

polyline from lat,log

7/24/2014 7:54:24 AM
Total Posts 28

polyline from lat,log

Is their any way to get particular polyline from lat, log...?

7/27/2014 11:14:59 PM
MVP
Total Posts 323

Re: polyline from lat,log

See the CreateLine.aspx sample in the AspMap samples.

// create a Points collection

AspMap.Points points = newPoints();

points.Add(2.35, 48.85);

points.Add(10.98, 44.31);

points.Add(14.69, 47.52);

points.Add(14.48, 37.35);

points.Add(-03.24, 34.40);

// create a line

AspMap.Polyline line = new AspMap.Polyline();

line.Add(points);