InMemoryFeatureLayer inMemoryLayer = new InMemoryFeatureLayer(); inMemoryLayer.Open(); inMemoryLayer.Columns.Add(new FeatureSourceColumn("ColumnName")); Feature polygonFeature = new Feature(BaseShape.CreateShapeFromWellKnownData("POLYGON((10 60,40 70,30 85, 10 60))")); polygonFeature.ColumnValues.Add("ColumnName", "Polygon"); inMemoryLayer.InternalFeatures.Add("Polygon", polygonFeature); Feature feature1 = new Feature(BaseShape.CreateShapeFromWellKnownData("POINT(12 20)")); feature1.ColumnValues.Add("ColumnName", "feature1"); Feature feature2 = new Feature(BaseShape.CreateShapeFromWellKnownData("POINT(70 20)")); feature2.ColumnValues.Add("ColumnName", "Feature2"); inMemoryLayer.InternalFeatures.Add(feature1); inMemoryLayer.InternalFeatures.Add(feature2); inMemoryLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle.FillSolidBrush.Color = GeoColor.FromArgb(100, GeoColor.StandardColors.RoyalBlue); inMemoryLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle.OutlinePen.Color = GeoColor.StandardColors.Blue; inMemoryLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle.SymbolPen = new GeoPen(GeoColor.FromArgb(255, GeoColor.StandardColors.Green), 8); inMemoryLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.CreateSimpleTextStyle("ColumnName", "Arial", 8, DrawingFontStyles.Bold, GeoColor.FromArgb(255, 91, 91, 91)); inMemoryLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;