Thanks for clearing that up Yale. I do have another question somewhat relating to this but instead of opening a new topic I figured I would just keep this one going.
So my question is I am using value styles to define my point styles for different types of points. I also have some polygon shapes so I use a value style to display the AreaStyle for those shapes. My problem is I want the center point of the polygons to show up with a certain point style.
If I set the DefaultPointStyle for the EditInteractiveOverlay, the center point will show up, but with ValueStyles, only the AreaStyle displays for the polygons.
ValueStyle valueStyle = new ValueStyle();
valueStyle.ColumnName = "FeatureType";
//Create different Point Styles for the different kinds of features to drag/drop
PointStyle polygonCenterStyle = PointStyles.CreateCompoundCircleStyle( GeoColor.SimpleColors.Transparent, 25, GeoColor.SimpleColors.Black, 1, GeoColor.StandardColors.Tomato, 10, GeoColor.SimpleColors.Black, 2 );
Collection(Style) areaCustomStyles = new Collection(Style)();
areaCustomStyles.Add( InMemoryFeatureLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle );
areaCustomStyles.Add( polygonCenterStyle );
valueStyle.ValueItems.Add( new ValueItem( "Polygon", areaCustomStyles ) );
InteractiveOverlay.EditShapesLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add( valueStyle );
InteractiveOverlay.EditShapesLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
Is the center point of the feature (the one that allows you to click and drag) treated separately from the polygon feature its self?
Thanks again for all your help.
- Andy