/// <summary>
        /// Adds the dataset specified to the file.  Depending on whether this is a featureSet,
        /// Raster, or ImageData, this will return the appropriate layer for the map.
        /// </summary>
        /// <param name="dataSet">A dataset</param>
        /// <returns>The IMapLayer to add</returns>
        public virtual IMapLayer Add(IDataSet dataSet)
        {
            IFeatureSet fs = dataSet as IFeatureSet;

            if (fs != null)
            {
                return(Add(fs));
            }
            IRaster r = dataSet as IRaster;

            if (r != null)
            {
                return(Add(r));
            }
            IImageData id = dataSet as IImageData;

            if (id != null)
            {
                return(Add(id));
            }
            ILiDARData ld = dataSet as ILiDARData;

            if (ld != null)
            {
                return(Add(ld));
            }
            return(null);
        }
 /// <summary>
 /// Adds a special LiDAR dataset and creates a LiDAR layer, adding the layer to the map
 /// </summary>
 /// <param name="LiDARData">The specialized LiDAR Dataset</param>
 /// <returns>The instance of the LiDAR layer</returns>
 /// <remarks>This operation is not yet implemented.</remarks>
 public virtual IMapLiDARLayer Add(ILiDARData LiDARData)
 {
     if (LiDARData == null)
     {
         return(null);
     }
     throw new NotImplementedException("adding LiDAR is not yet implemented");
 }
 /// <summary>
 /// Adds a special LiDAR dataset and creates a LiDAR layer, adding the layer to the map
 /// </summary>
 /// <param name="LiDARData">The specialized LiDAR Dataset</param>
 /// <returns>The instance of the LiDAR layer</returns>
 /// <remarks>This operation is not yet implemented.</remarks>
 public virtual IMapLiDARLayer Add(ILiDARData LiDARData)
 {
     if (LiDARData == null) return null;
     throw new NotImplementedException("adding LiDAR is not yet implemented");
 }