In my previous app built using the .NET API for WPF. I set the Map.Backgound color and added dynamic layers above it. In the 10.2.7 .NET SDK. that property does not exist. I do see it on the MavView object but that doesn't work either. How to I set a background color on the map?
Here's what I'm talking about (attached). I don't want to see the gray backgound with the grids. I want that to be a solid color.
Solved! Go to Solution.
You can use MapView.MapBackground property. You can also set LineWidth to 0.
MyMapView.MapBackground = new MapBackground() { Color = Colors.Yellow };
You can use MapView.MapBackground property. You can also set LineWidth to 0.
MyMapView.MapBackground = new MapBackground() { Color = Colors.Yellow };
I could cound the following property in .Net Sdk v100 ,could you please explain how to change the background in .Net Sdk v100
Thanks
Haider
There is a BackgroundColor property which seems to not be in the documentation.
Background color property is .net control property, not the replacement of Mapview.MapBackground .