Hello,
I'm trying to add a WfsFeatureLayer in my map, and get the features to add data and apply a classbreakstyle.
WfsFeatureLayer wfsLayerClus = new WfsFeatureLayer(wfsServiceUrlClus, wfsLayerNameClus);
wfsLayerClus.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = new AreaStyle(new GeoPen(new GeoColor(50, 255, 0, 0), 2), new GeoSolidBrush(new GeoColor(50, 0, 255, 255)));
wfsLayerClus.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level19;
Map1.DynamicOverlay.Layers.Add(wfsLayerClus);
The layer is correctly displayed. But when I try to get the features, through the featuresource or the querytools, I can't: wfsLayerClus.QueryTools.GetAllFeatures(ReturningColumnsType.AllColumns) returns 0 feature.
I tried to add new EventHandler<DrawingFeaturesEventArgs>(drawF). I got some features but they are "null".
The only thing I get is the list of columns.
How can I do please?
Best regards,
André