Пример #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);
 }
Пример #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);
        }
Пример #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]);
     }
 }
Пример #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]);
            }
        }
Пример #5
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Empty constructor.
  */
 public MapMultiPoint()
 {
     SetMapObjectType(MULTIPOINT);
     SymbolType = new MapSymbol();
     Points = null;
 }
Пример #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;
 }
Пример #7
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 03JAN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Empty constructor.
  */
 public MapPoint()
 {
     SetMapObjectType(POINT);
     SymbolType = new MapSymbol();
     Point = new GeoLatLng();
 }
Пример #8
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Empty constructor.
         */
        public MapMultiPoint()
        {
            SetMapObjectType(MULTIPOINT);
            SymbolType = new MapSymbol();
            Points     = null;
        }
Пример #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;
        }
Пример #10
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 03JAN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

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