I have a collection of features, each with a GeometryCollectionShape, which I need to style based on feature data attribute. For this particular scenario, each GeometryCollectionShape will consist of a Line and a Polygon.
I created a ValueStyle , set its ColumnName and gave it a simple line and fill style but my feature was not rendered. This is how I created the style.
What am I missing? TIA.
var valueStyle = new ValueStyle();
valueStyle.ColumnName = "Satellite";
var styles = new Collection<Style>();
styles.Add(LineStyles.Highway1);
styles.Add(AreaStyles.Country1);
ValueItem item = new ValueItem("S01", styles);
ZoomLevelSet.ZoomLevel01.CustomStyles.Add(valueStyle);
ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;