Is it possible to change sky texture in UWP MapControl?

89 views Asked by At

UWP MapControl shows stars and the sun at some random place on the sky like in the image below. Is it any way to hide them or any possibility to play with sky texture?

I have played with the MapStyleSheet editor and I have no clue how to do it.

enter image description here

1

There are 1 answers

1
Duncan Lawler On

There are some limited customization options available for the sky. I recommend you use the Map Stylesheet editor application available here to explore them: https://www.microsoft.com/en-us/p/map-style-sheet-editor/9nbhtcjt72ft You can turn off the atmosphere effect, and control the color of the space background. I don't think there's any way to turn off the sun/stars. Documentation on how to use the stylesheet to customize the view is here: https://learn.microsoft.com/en-us/windows/uwp/maps-and-location/elements-of-map-style-sheet and the Stylesheet editor application will generate sample code for you.