Esempio n. 1
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Copy constructor.
  * @param mapPoint     map object copy from.
  */
 public MapPoint(MapPoint mapPoint)
     : base(mapPoint)
 {
     SetMapObjectType(POINT);
     SymbolType = new MapSymbol(mapPoint.SymbolType);
     Point = new GeoLatLng(mapPoint.Point);
 }
Esempio n. 2
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Copy constructor.
         * @param mapPoint     map object copy from.
         */
        public MapPoint(MapPoint mapPoint)
            : base(mapPoint)
        {
            SetMapObjectType(POINT);
            SymbolType = new MapSymbol(mapPoint.SymbolType);
            Point      = new GeoLatLng(mapPoint.Point);
        }
Esempio n. 3
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Copy constructor.
  * @param mapPoints     map object copy from.
  */
 public MapMultiPoint(MapMultiPoint mapPoints)
     : base(mapPoints)
 {
     SetMapObjectType(MULTIPOINT);
     SymbolType = new MapSymbol(mapPoints.SymbolType);
     Points = new GeoLatLng[mapPoints.Points.Length];
     for (int i = 0; i < Points.Length; i++)
     {
         Points[i] = new GeoLatLng(mapPoints.Points[i]);
     }
 }
Esempio n. 4
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Copy constructor.
         * @param mapPoints     map object copy from.
         */
        public MapMultiPoint(MapMultiPoint mapPoints)
            : base(mapPoints)
        {
            SetMapObjectType(MULTIPOINT);
            SymbolType = new MapSymbol(mapPoints.SymbolType);
            Points     = new GeoLatLng[mapPoints.Points.Length];
            for (int i = 0; i < Points.Length; i++)
            {
                Points[i] = new GeoLatLng(mapPoints.Points[i]);
            }
        }
Esempio n. 5
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Empty constructor.
  */
 public MapMultiPoint()
 {
     SetMapObjectType(MULTIPOINT);
     SymbolType = new MapSymbol();
     Points = null;
 }
Esempio n. 6
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Set the symbol type of the map point.
  * @param symbol the symbol type
  */
 public void SetSymbolType(MapSymbol symbol)
 {
     SymbolType = symbol;
 }
Esempio n. 7
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 03JAN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Empty constructor.
  */
 public MapPoint()
 {
     SetMapObjectType(POINT);
     SymbolType = new MapSymbol();
     Point = new GeoLatLng();
 }
Esempio n. 8
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Empty constructor.
         */
        public MapMultiPoint()
        {
            SetMapObjectType(MULTIPOINT);
            SymbolType = new MapSymbol();
            Points     = null;
        }
Esempio n. 9
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Set the symbol type of the map point.
         * @param symbol the symbol type
         */
        public void SetSymbolType(MapSymbol symbol)
        {
            SymbolType = symbol;
        }
Esempio n. 10
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 03JAN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Empty constructor.
         */
        public MapPoint()
        {
            SetMapObjectType(POINT);
            SymbolType = new MapSymbol();
            Point      = new GeoLatLng();
        }