Hi,
Is rotation of raster layers supported in WPF Desktop? We have a requirement for map rotation (both vector and raster data) in our custom application. Here is the code I've tried. The raster layer displays, but I can't figure out the code to rotate it. Thank you for any suggestions!
MapSuiteCore Version 4.5.0.0
Rod
var rasterLayer = new GdiPlusRasterLayer(layer.FilePath);
//var rasterLayer = new GeoTiffRasterLayer(layer.FilePath); //much slower than GdiPlusRasterLayer
//rasterLayer.ImageSource.Projection = RotationProjection; //Projection is not a valid property for ImageSource
//as it is with FeatureSource
rasterLayer.UpperThreshold = double.MaxValue;
rasterLayer.LowerThreshold = 0;
rasterLayer.Name = layer.Id;
rasterLayer.IsVisible = layer.IsVisible;
layer.Tag = rasterLayer;
rasterLayer.Open();
layerOverlay.Layers.Insert(layer.DrawOrder, layer.Id, rasterLayer);