示例#1
0
        /// <exception cref="InvalidRouteException"></exception>
        /// <exception cref="WaypointNotFoundException"></exception>
        private Route ReadMainRoute(List <string> route)
        {
            var latLon = trk.PreferredFirstLatLon;

            var analyzer = new AutoSelectAnalyzer(
                CoordinateFormatter.Split(CombineArray(route)),
                latLon,
                latLon,
                wptList);

            return(analyzer.Analyze());
        }