qinjie
2023-12-02 c2fa168aff53d879f72412c94baa7be4998dae5e
Hydro.MapView/Common/MapDimensions.cs
ÎļþÃû´Ó Hydro.MapView/Common/MapView.cs ÐÞ¸Ä
@@ -8,7 +8,8 @@
namespace Hydro.MapView
{
    public class MapView
    [Serializable]
    public class MapDimensions
    {
        [Category("4、视角")]
        [DisplayName("中心")]
@@ -18,17 +19,17 @@
        [Category("4、视角")]
        [DisplayName("缩放")]
        [Browsable(true)]
        public float zoom { get; set; }
        public float zoom { get; set; } = 0.1f;
        [Category("4、视角")]
        [DisplayName("旋转角度")]
        [Browsable(true)]
        public double rotation { get; set; }
        public double rotation { get; set; } = 0;
        [Category("4、视角")]
        [DisplayName("俯视角度")]
        [Browsable(true)]
        public double rotationF { get; set; }
        public double rotationF { get; set; } = 90;
        [Category("4、视角")]
        [DisplayName("显示楼层")]
@@ -40,9 +41,9 @@
        [Browsable(true)]
        public bool isShowPic { get; set; } = true;
        public MapView Copy()
        public MapDimensions Copy()
        {
            MapView mv = new MapView();
            MapDimensions mv = new MapDimensions();
            mv.Center = Center;
            mv.zoom = zoom;
            mv.rotation = rotation;