Hi,
In new verson of WebSuite (v 182) I have a problem with MsSql2008FeatureLayer. I display the countries to CustomOverlays and in the revious version (v 148) it was correct. The overlay isn't display. Where is the problem?
Thanks
Ondrej
LayerOverlay staticLayers = new LayerOverlay("StaticLayer");
staticLayers.WebImageFormat = WebImageFormat.Png;
countriesLayer = new MsSql2008FeatureLayer(System.Configuration.ConfigurationManager.ConnectionStrings["Location"].ConnectionString, "countryLayer", "oid");
countriesLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.FromArgb(255, 242, 239, 233), GeoColor.FromArgb(255, 128, 128, 128), 1);
countriesLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
countriesLayer.FeatureSource.Projection = Projection.CloneDeep();
staticLayers.Layers.Add(countriesLayer);