protected override MapConfiguration GetMapConfigurationCore(string style, string crs) { // Get the directory to the sample data //string worldLayerFilePath = Directory.GetParent(Directory.GetParent(AppDomain.CurrentDomain.BaseDirectory).FullName).FullName + "\\SampleData\\Countries02.shp"; string worldLayerFilePath = Directory.GetParent(Directory.GetParent(AppDomain.CurrentDomain.BaseDirectory).FullName).FullName + "\\SampleData\\MAKUTI_region.shp"; string proj = "+proj=utm +zone=37 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs"; Proj4Projection proj4 = new Proj4Projection(); proj4.InternalProjectionParametersString = proj; proj4.ExternalProjectionParametersString = Proj4Projection.GetEpsgParametersString(4326); ShapeFileFeatureLayer worldLayer = new ShapeFileFeatureLayer(worldLayerFilePath); worldLayer.FeatureSource.Projection = proj4; worldLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital1("Test11"); worldLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Country1; worldLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; worldLayer.FeatureSource.CustomColumnFetch += new EventHandler(FeatureSource_CustomColumnFetch); MapConfiguration mapConfiguration = new MapConfiguration(); mapConfiguration.Layers.Add("WorldLayer", worldLayer); return mapConfiguration; } void FeatureSource_CustomColumnFetch(object sender, CustomColumnFetchEventArgs e) { if (e.ColumnName == "CNTRY_NAME") { string id = e.Id; string columnName = e.ColumnName; e.ColumnValue = "My Country"; } }