Exemple #1
0
        private bool TryParseCoord(string ident)
        {
            var coord = FormatDecimal.Parse(ident);

            if (coord != null)
            {
                lastWpt = -1;
                return(TryAppendWpt(new Waypoint(ident, coord)));
            }

            return(false);
        }
 private static LatLon ParseLatLon(string s)
 {
     return(Format5Letter.Parse(s) ??
            Format7Letter.Parse(s) ??
            FormatDecimal.Parse(s));
 }