EditInteractiveOverlay labelOverlay; private void DisplayMap_Load(object sender, EventArgs e) { labelOverlay = new EditInteractiveOverlay(); TextStyle unitTextStyle = new TextStyle("UnitLabel", new GeoFont("Arial", 10), new GeoSolidBrush(GeoColor.SimpleColors.Red)); unitTextStyle.XOffsetInPixel = 20; TextStyle callTextStyle = new TextStyle("CallLabel", new GeoFont("Arial", 10), new GeoSolidBrush(GeoColor.SimpleColors.Red)); callTextStyle.XOffsetInPixel = 20; ValueStyle labelValueStyle = new ValueStyle(); labelValueStyle.ColumnName = "UnitLabel"; labelValueStyle.ValueItems.Add(new ValueItem("U", unitTextStyle)); labelValueStyle.ValueItems.Add(new ValueItem("C", callTextStyle)); labelOverlay.EditShapesLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(labelValueStyle); labelOverlay.EditShapesLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; labelOverlay.EditShapesLayer.Open(); labelOverlay.EditShapesLayer.Columns.Add(new FeatureSourceColumn("UnitLabel")); labelOverlay.EditShapesLayer.Close(); addFeaturee(); winformsMap1.CurrentExtent = new RectangleShape(-180, 90, 180, -90); winformsMap1.InteractiveOverlays.Add("Labels", labelOverlay); labelOverlay.EditShapesLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle.IsActive = false; labelOverlay.EditShapesLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle.IsActive = false; labelOverlay.EditShapesLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle.IsActive = false; labelOverlay.EditShapesLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.IsActive = false; winformsMap1.Refresh(); } private void addFeaturee() { PointShape pointShape = new PointShape(0, 0); pointShape.Tag = "test"; Feature fl = new Feature(pointShape); fl.ColumnValues["UnitLabel"] = "U"; labelOverlay.EditShapesLayer.InternalFeatures.Add("testFeature", fl); }