private LayerOverlay CreateHighlightLayerOverlay(Feature feature) { LayerOverlay highlightOverlay = new LayerOverlay(); InMemoryFeatureLayer inMemoryFeatureLayer = new InMemoryFeatureLayer(); //GeoHatchBrush fillBrush = new GeoHatchBrush(GeoHatchStyle.Cross, GeoColor.FromArgb(100, 0, 255, 0)); inMemoryFeatureLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyle.CreateHatchStyle(GeoHatchStyle.BackwardDiagonal, GeoColor.FromArgb(150, 254, 255, 39), GeoColors.Transparent); inMemoryFeatureLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyle.CreateSimpleLineStyle(GeoColor.FromArgb(50, GeoColors.Green), 3, false); inMemoryFeatureLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; inMemoryFeatureLayer.InternalFeatures.Add(feature); highlightOverlay.Layers.Add(inMemoryFeatureLayer); return(highlightOverlay); }