private void LoadAGeoTiffImage_Load(object sender, EventArgs e) { winformsMap1.MapUnit = GeographyUnit.Meter; winformsMap1.BackgroundOverlay.BackgroundBrush = new GeoSolidBrush(GeoColor.GeographicColors.Ice); GeoTiffRasterLayer worldImageLayer = new GeoTiffRasterLayer(@"..\..\sampledata\images\001_raster\gru200.tif"); worldImageLayer.UpperThreshold = double.MaxValue; worldImageLayer.LowerThreshold = 0; worldImageLayer.IsGrayscale = false; worldImageLayer.Open(); winformsMap1.CurrentExtent = worldImageLayer.GetBoundingBox(); worldImageLayer.Close(); worldImageLayer.KeyColors.Add(new GeoColor(255, 255, 255, 255)); worldImageLayer.LibraryType = GeoTiffLibraryType.UnmanagedLibTiff; LayerOverlay ImageOverlay = new LayerOverlay(); ImageOverlay.Layers.Add("WorldImageLayer", worldImageLayer); winformsMap1.Overlays.Add(ImageOverlay); winformsMap1.Refresh(); }