I tried adding my own map on a wpf Map Suite Desktop Application by the following:
ShapeFileFeatureLayer mytown = new ShapeFileFeatureLayer(@"C:\Maps\sgpsgp________gc_polyline.shp");
mytown.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle =AreaStyles
mytown.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel =ApplyUntilZoomLevel
LayerOverlay layerOverlay = new LayerOverlay();
layerOverlay.Layers.Add(new
BackgroundLayer(new GeoSolidBrush(GeoColor.GeographicColors.ShallowOcean)));
wpfMap1.Overlays.Add(layerOverlay);
wpfMap1.Refresh();
Why nothing comes out in the map area when the application is launched? Thanks