Exemple #1
0
 private void AddHeadLandToMap(List <MyPoint3D> headLand)
 {
     VM.LineVM line = new LineVM();
     line.Locations = new LocationCollection();
     foreach (var p in headLand)
     {
         line.Locations.Add(p.ToGeo().ToLocation());
     }
     GuidanceLines.Add(line);
 }
Exemple #2
0
        void setCanProcessField()
        {
            if (selectedField == null || flagA == null || flagB == null)
            {
                CanProcessField = false;
            }
            else
            {
                CanProcessField = true;
            }

            if (flagA != null && flagB != null)
            {
                AB_Lines.Clear();
                VM.LineVM line = new LineVM();
                line.Locations = new LocationCollection();
                line.Locations.Add(flagA.Location);
                line.Locations.Add(flagB.Location);
                AB_Lines.Add(line);
            }
        }