public void RemoveLayer(VisualizationDataSource dataSource)
        {
            ProbesLayer probesLayer = probesLayers.Find(pl => pl.Guid == dataSource.Guid);

            if (probesLayer != null)
            {
                host.DataSources.Remove(probesLayer.LayerID, probesLayer.LayerName);
                probesLayers.Remove(probesLayer);
            }
        }
 private void AddLayerToHost(ProbesLayer probesLayer)
 {
     host.DataSources.Add(new DataSourceLayerData(probesLayer.LayerID, probesLayer.LayerName, probesLayer.DataSource, DataSourceUsage.TextureMap, 999, 1));
 }
 private void AddLayerToHost(ProbesLayer probesLayer)
 {
     host.DataSources.Add(new DataSourceLayerData(probesLayer.LayerID, probesLayer.LayerName, probesLayer.DataSource, DataSourceUsage.TextureMap, 999, 1));
 }