I am trying to upgrade from 3.1.16.0 to 3.1.182.0. On initialization of FeatureSourceColumn for InMemoryFeatureLayer, I am getting "The FeatureSource is not open. Please call the Open method before calling this method." error. It works fine on 3.1.16. Could you advise on how to resolve this error. Thanks
InMemoryFeatureLayer objShapeLayer = new InMemoryFeatureLayer();
objShapeLayer.Columns.Add(new FeatureSourceColumn("testcolumn"));
objShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.FromArgb(155, 255, 255, 255), GeoColor.StandardColors.White, 1); ;
objShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimpleCircleStyle(GeoColor.FromArgb(180, 255, 255, 255), 10, GeoColor.StandardColors.White, 1);
objShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.CreateSimpleLineStyle(GeoColor.StandardColors.White, 7, true);
objShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;