Thanks for your post. We need to clarify some information with you to solve this issue;
1. Are you sure your Tif data is in WGS 84 coordinate system? If not, you could not set the map unit to decimal degree. 2. You should also make sure that the current extent of your data is “-118.098, 84.3, 118.098, -84.3”. 3. We also have a class called GeoTiffRasterLayer which is used to handle the GeoTiff data specifically, could you please have a try using this class? The code could be like this: GeoTiffRasterLayer worldImageLayer = new GeoTiffRasterLayer(@"..\..\SampleData\Data\world.tif"); worldImageLayer.UpperThreshold = double.MaxValue; worldImageLayer.LowerThreshold = 0; worldImageLayer.IsGrayscale = false;
To check if the bounding box is right is you can get it from the layer itself. Once you load the GeoTiffRasterLayer you can call the worldImageLayer.GetboundingBox() and verify that you are zooming into the right area. Before you make the call make sure to call the Open first.
winformsMap1.CurrentExtent = new RectangleShape(-118.098, 84.3, 118.098, -84.3);
winformsMap1.Refresh();
By the way I am using the "Map Suite Desktop Evaluation Edition 3.0" because the download center is broking and I could not download the official suite?
I saw that you didn’t set the bounding box of your tiff image to the CurrentExtent of the map control from the code snippet. Could you please have a try using the bounding box? You just need to modify one line of your code from
winformsMap1.CurrentExtent = new RectangleShape(-118.098, 84.3, 118.098, -84.3);
But is there ability to add fuction to display the loading progress depending to the image size? i.e: if the image is lag a progress bar to the % of loading? or I need to estimate this time regarding to the image size?