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