Esempio n. 1
0
 private void PointMove(PublicClassCurrency.MapPointInfo1 mapPoint)
 {
     if (PointMove_Evnet != null)
     {
         PointMove_Evnet(mapPoint);
     }
 }
Esempio n. 2
0
        public MapPointInfo1 ToBD_09()
        {
            MapPointInfo1 result = new MapPointInfo1();

            result.intMapLevel     = intMapLevel;
            result.cordinateSyatem = Enum_CordinateSystem1.BD_09;
            double Temp_dblLon = dblLon;
            double Temp_dblLat = dblLat;

            if (cordinateSyatem == Enum_CordinateSystem1.WGS_84)
            {
                WGSToBD_encrypt(dblLon, dblLat, out Temp_dblLon, out Temp_dblLat);
            }
            else if (cordinateSyatem == Enum_CordinateSystem1.GCJ_02)
            {
                GCJToBD_encrypt(dblLon, dblLat, out Temp_dblLon, out Temp_dblLat);
            }
            result.dblLon = Temp_dblLon;
            result.dblLat = Temp_dblLat;
            return(result);
        }