List<PointLatLng> points = new List<PointLatLng>();
points.Add(new PointLatLng(48.866383, 2.323575));
points.Add(new PointLatLng(48.866383, 20.323575));
GMap.NET.WindowsPresentation.GMapRoute route = new GMap.NET.WindowsPresentation.GMapRoute(points);
route.Points.AddRange(points);
route.Shape = new Path() { Stroke = new SolidColorBrush(Colors.Red), StrokeThickness = 2 };
MapView.Markers.Add(route);
我正在这样的地图上绘制路线。我必须自行绘制路线。不使用地图提供程序。
问题是当我在地图上画一条线时,我想找到那条线中的所有点(经度-纬度)。我想逐步向该行中的用户显示所有点(包括纬度和经度)。
我该怎么做?