Пример #1
0
 public CMGeoCoordinate(enumGeoPointType geodottype, PointLatLng coordinates, double altitude = 0)
 {
     GeoDotType     = geodottype;
     this.Altitude  = altitude;
     this.Latitude  = coordinates.Lat;
     this.Longitude = coordinates.Lng;
 }
Пример #2
0
 public CMRunwayThreshold(enumGeoPointType geodottype, double lat, double lng, double height = 0, double truecourse = 0, double magneticcourse = 0, string text = "", double height1800 = 0)
     : base(enumGeoPointType.geoptRunwayThreshold, lat, lng, height, text)
 {
     TrueCourse     = truecourse;
     MagneticCourse = magneticcourse;
     Height1800     = height1800;
 }
Пример #3
0
 public CMGeoCoordinate(enumGeoPointType geodottype, double latitude, double longitude, double altitude = 0)
 {
     GeoDotType     = geodottype;
     this.Altitude  = altitude;
     this.Latitude  = latitude;
     this.Longitude = longitude;
 }
Пример #4
0
 public CMFrmCheckedGeoPointEdt(CMAirPortInfo apinf, enumGeoPointType geodottype, double lat, double lng, double height = 0, string DotName = "")
 {
     InitializeComponent();
     mAPInf = apinf;
     //txtText.Text = DotName;
     mCheckedGeoPoint      = new CMCheckedGeoPoint(geodottype, lat, lng, height);
     mCheckedGeoPoint.Text = DotName;
 }
Пример #5
0
        public static GMap.NET.WindowsForms.Markers.GMarkerGoogle GetGMarkerGoogle(string markername, PointLatLng pointlatlng,
                                                                                   enumGeoPointType GeoDotType,
                                                                                   GMap.NET.WindowsForms.Markers.GMarkerGoogleType MarkerGoogleType)
        {
            GMap.NET.WindowsForms.Markers.GMarkerGoogle marker = new GMap.NET.WindowsForms.Markers.GMarkerGoogle(pointlatlng, MarkerGoogleType);
            //marker.ToolTipText = string.Format("{0}, {1} {2}", markername, ShowDegMiSec(pointlatlng.Lat), ShowDegMiSec(pointlatlng.Lng));
            marker.Tag = new CMBaseGeoPoint(GeoDotType);

            return(marker);
        }
Пример #6
0
        private void ShowCheckedGeoPointEdt(enumGeoPointType geodottype)
        {
            CMFrmCheckedGeoPointEdt mform = new CMFrmCheckedGeoPointEdt(APInf, geodottype, APInf.KTA.Lat, APInf.KTA.Lng, APInf.AirfieldHeight);

            mform.ShowDialog();

            if (mform.Dialog_Result)
            {
                StartCheck(mform.CheckedGeoPoint);
            }
        }
Пример #7
0
        private void ShowCheckedGeoPointEdt(enumGeoPointType geodottype, double lat, double lng, double height = 0)
        {
            CMFrmCheckedGeoPointEdt mform = new CMFrmCheckedGeoPointEdt(APInf, geodottype, lat, lng, height);

            mform.ShowDialog();

            if (mform.Dialog_Result)
            {
                StartCheck(mform.CheckedGeoPoint);
            }
        }
Пример #8
0
        public CMGeoPoint(enumGeoPointType geodottype, double lat, double lng, double height = 0, string text = "")
        {
            GeoDotType = geodottype;
            Height     = height;
            Text       = text;
            if (Coordinates == null)
            {
                Coordinates = new PointLatLng();
            }

            Coordinates.Lat = lat;
            Coordinates.Lng = lng;
        }
Пример #9
0
        private void RemoveGroupDot(enumGeoPointType geodottype)
        {
            for (int i = polyOverlay.Markers.Count - 1; i >= 0; i--)
            {
                if (polyOverlay.Markers[i].Tag != null)
                {
                    if (((CLMGeo.CMBaseGeoPoint)(polyOverlay.Markers[i].Tag)).GeoDotType == geodottype)
                    {
                        polyOverlay.Markers.RemoveAt(i);
                    }
                }

                if (i > polyOverlay.Markers.Count)
                {
                    i = polyOverlay.Markers.Count;
                }
            }
        }
Пример #10
0
 public CMBaseGeoPoint()
 {
     GeoDotType = enumGeoPointType.geoptNull;
 }
Пример #11
0
 public CMCheckedGeoPoint(enumGeoPointType geodottype, PointLatLng coordinates, double height = 0)
     : base(geodottype, coordinates, height)
 {
 }
Пример #12
0
 public CMCheckedGeoPoint(enumGeoPointType geodottype, double lat, double lng, double height = 0, string text = "")
     : base(geodottype, lat, lng, height, text)
 {
 }
Пример #13
0
 public CMCheckedGeoPoint(enumGeoPointType geodottype, double lat, double lng, double height = 0)
     : base(geodottype, lat, lng, height)
 {
 }
Пример #14
0
 public CMCheckedGeoPoint(enumGeoPointType geodottype)
     : base(geodottype)
 {
 }
Пример #15
0
 public CMFrmCheckedGeoPointEdt(CMAirPortInfo apinf, enumGeoPointType geodottype, double lat, double lng, double height = 0)
 {
     InitializeComponent();
     mAPInf           = apinf;
     mCheckedGeoPoint = new CMCheckedGeoPoint(geodottype, lat, lng, height);
 }
Пример #16
0
 public CMRunwayThreshold(enumGeoPointType geodottype, PointLatLng coordinates, double height = 0, double truecourse = 0, double magneticcourse = 0)
     : base(enumGeoPointType.geoptRunwayThreshold, coordinates, height)
 {
     TrueCourse     = truecourse;
     MagneticCourse = magneticcourse;
 }
Пример #17
0
        public CMFrmCheckedGeoPointEdt(enumGeoPointType geodottype, double lat, double lng, double height = 0)
        {
            InitializeComponent();

            mCheckedGeoPoint = new CMCheckedGeoPoint(geodottype, lat, lng, height);
        }
Пример #18
0
 public CMGeoPoint(enumGeoPointType geodottype, PointLatLng coordinates, double height = 0)
 {
     GeoDotType  = geodottype;
     Height      = height;
     Coordinates = coordinates;
 }
Пример #19
0
 public CMRunwayThreshold(enumGeoPointType geodottype, double lat, double lng, double height = 0, double truecourse = 0, double magneticcourse = 0)
     : base(enumGeoPointType.geoptRunwayThreshold, lat, lng, height)
 {
     TrueCourse     = truecourse;
     MagneticCourse = magneticcourse;
 }
Пример #20
0
 public CMBaseGeoPoint(enumGeoPointType geodottype)
 {
     GeoDotType = geodottype;
 }
Пример #21
0
 public GMap.NET.WindowsForms.Markers.GMarkerGoogle GetGMarkerGoogle(GMap.NET.WindowsForms.Markers.GMarkerGoogleType MarkerGoogleType, enumGeoPointType geodottype)
 {
     GMap.NET.WindowsForms.Markers.GMarkerGoogle marker = new GMap.NET.WindowsForms.Markers.GMarkerGoogle(Coordinates, MarkerGoogleType);
     //marker.ToolTipText = string.Format("{0}, {1} {2}", Text, ShowDegMiSec(Lat), ShowDegMiSec(Lng));
     marker.Tag = new CMBaseGeoPoint(geodottype);
     return(marker);
 }
Пример #22
0
 public CMGeoCoordinate(enumGeoPointType geodottype)
 {
     GeoDotType = geodottype;
 }
Пример #23
0
 public CMBaseGeoPoint(enumGeoPointType geodottype, int itemNom)
 {
     GeoDotType = geodottype;
     ItemNom    = itemNom;
 }
Пример #24
0
 public CMRunwayThreshold(enumGeoPointType geodottype)
     : base(enumGeoPointType.geoptRunwayThreshold)
 {
 }