From 66fb5531a1bb4ca0b2f3364b1b0a33c9156a0c19 Mon Sep 17 00:00:00 2001 From: zxd Date: Tue, 17 Jul 2018 14:15:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=97=AE=E9=A2=98=EF=BC=9A?= =?UTF-8?q?=20=E6=B7=BB=E5=8A=A0=E5=8E=9F=E7=82=B9=E5=90=8E=E6=9C=AA?= =?UTF-8?q?=E6=8B=96=E5=8A=A8=E4=BC=9A=E6=8F=90=E7=A4=BA=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E5=8E=9F=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plane.FormationCreator/Views/MapView.xaml.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Plane.FormationCreator/Views/MapView.xaml.cs b/Plane.FormationCreator/Views/MapView.xaml.cs index 1061020..abaab2d 100644 --- a/Plane.FormationCreator/Views/MapView.xaml.cs +++ b/Plane.FormationCreator/Views/MapView.xaml.cs @@ -358,8 +358,8 @@ namespace Plane.FormationCreator.Views location = map.Center; else location = new Location(e.Lat, e.Lng); - //_flightTaskManager - + + original = new Ellipse { Tag = ORIGINALPOINT_TAG, @@ -374,6 +374,8 @@ namespace Plane.FormationCreator.Views MapLayer.SetPosition(original, location); original.ToolTip = location.ToString(); originaDrag = false; + _flightTaskManager.OriginLat = location.Latitude; + _flightTaskManager.OriginLng = location.Longitude; original.MouseLeftButtonDown += new MouseButtonEventHandler(OriginalMouseDown); }