Hi,
I followed sample (arcgis-runtime-samples-dotnet/DynamicLayerAddData.xaml.cs at master · Esri/arcgis-runtime-samples-do... ) on adding raster data.
I successfully handled to add my ecw raster format but is there any way to change the order of the added layer? The raster is displaying on the top of all other layer but I'd need it displays on the bottom.
Thanks!
Instead of adding the layer using MapView.Map.Layers.Add (this adds it to the end of the collection), use insert to put it to the specific index (that would be 0 in this case) or just replace the first one if you want to replace the base map.