ningshuxia
3 天以前 71c12ff40d58c3dbdde6867396dd99224e57fc32
WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MapDimensions.cs
@@ -6,17 +6,17 @@
using System.Text;
using System.Threading.Tasks;
namespace Hydro.MapView
namespace Yw.WinFrmUI.Q3d
{
    [Serializable]
    public class MapDimensions
    {
        [Category("视角")]
        [DisplayName("中心")]
        [Browsable(true)]
        public PointF Center { get; set; }
        public PointF3D Center { get; set; }
        [Category("视角")]
        [DisplayName("缩放")]
@@ -33,18 +33,18 @@
        [Category("视角")]
        [DisplayName("俯视角度")]
        [Browsable(true)]
        public double rotationF
        public double rotationF
        {
            get
            get
            {
                if (Lock2DView) _rotationF = 90;
                return _rotationF;
            }
            set
            {
            set
            {
                _rotationF = value;
                if (Lock2DView) _rotationF = 90;
            }
            }
        }
        [Category("视角")]
@@ -57,7 +57,7 @@
        [Browsable(true)]
        public bool isShowPic { get; set; } = true;
        public bool isAutoBackgroundImage = false;
@@ -76,7 +76,7 @@
        [Category("视角")]
        [DisplayName("锁定平面视角")]
        [Browsable(true)]
        public bool Lock2DView { get; set; }=false;
        public bool Lock2DView { get; set; } = false;
        /// <summary>
        /// 编辑模式true,浏览模式false;默认值:true;浏览模式下,不能编辑模型