C# Sharpmap加載tif 加載png

思路很簡單,使用這兩個方法打開之後加載進圖層即可。 GdalRasterLayer layGdal = new SharpMap.Layers.GdalRasterLayer("test", @"G:\testTif.Tif");  var l = new SharpMap.Layers.GdiImageLayer(ofd.FileName);  mainMapBox.Map.Layers.Add
相關文章
相關標籤/搜索