cloudflight
2024-10-12 46e3091f9cdefc7e2ffbc69bcb9c39650b1c0587
WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/Map/Drawer.Model.cs
@@ -102,6 +102,7 @@
        MouseState _mouseState = MouseState.无;
        private NodeViewModel _OperaNode = null;
        PointF _HookPoint = new PointF(-1, -1);
        public PointF mouseXY = new PointF(0, 0);
        PointF DragStartPos;
@@ -306,20 +307,21 @@
        
        private double Rotation0 = 0;
        [Browsable(false)]
        public PointF MapCenter
        public PointF3D MapCenter
        { 
            get 
            {
                return mapOption.Center;
            {
                if (mapOption?.Center == null) return new PointF3D(0, 0, 0);
                return mapOption.Center;
            } 
            set 
            {
                //将$"{MapCenter.X.ToString("0.00")},{MapCenter.Y.ToString("0.00")}"通过CenterChanged传出
                CenterChanged?.Invoke(this, $"{MapCenter.X.ToString("0.00")},{MapCenter.Y.ToString("0.00")}");
                mapOption.Center = value;
                mapOption.Center = value;
            } 
        }
        private PointF MapCenter0;
        private PointF3D MapCenter0;
        private bool is3Dview = false;
        double 俯视角度_start = 90;