| 1234567891011121314151617181920212223 |
- using DevExpress.XtraMap;
- using Ips.Library.Entity;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Ips.Library.DxpLib
- {
- public static class DxMapConvertUtil
- {
- public static CoordPointCollection ConvertFrom(GeoLine line)
- {
- var result = new CoordPointCollection();
- foreach (var point in line.Points)
- {
- result.Add(new GeoPoint(point.Lat, point.Lon));
- }
- return result;
- }
- }
- }
|