Пример #1
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Copy constructor.
         * @param multiPline     map object copy from.
         */
        public MapMultiPline(MapMultiPline multiPline)
            : base(multiPline)
        {
            SetMapObjectType(MULTIPLINE);
            PenStyle = new MapPen(multiPline.PenStyle);
            Plines   = new GeoPolyline[multiPline.Plines.Length];
            for (int i = 0; i < Plines.Length; i++)
            {
                Plines[i] = new GeoPolyline(multiPline.Plines[i]);
            }
        }
Пример #2
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Copy constructor.
  * @param multiPline     map object copy from.
  */
 public MapMultiPline(MapMultiPline multiPline)
     : base(multiPline)
 {
     SetMapObjectType(MULTIPLINE);
     PenStyle = new MapPen(multiPline.PenStyle);
     Plines = new GeoPolyline[multiPline.Plines.Length];
     for (int i = 0; i < Plines.Length; i++)
     {
         Plines[i] = new GeoPolyline(multiPline.Plines[i]);
     }
 }