Adjust Map Background color
This post will demonstrate how to change the background color of maps in your applications.
💡
This is particularly useful when displaying geometries in specific colors, and the default white background isn't suitable.
To change the background of a map, navigate to the Content
menu of M.App Studio and edit your stylset
or create a new stylset.
Within Style Editor you will find a new button on the navigation bar on top called Map Background Color
.
When you click the button, a small window opens with a color palette
for selecting colors. By default, HEX
color values are chosen, but you can easily switch to RGBA
or HSLA
values by clicking on the small arrows.
Additionally, there are two color sliders
. One is for adjusting the hue
and the other for setting the opacity
of the color. You can choose your desired color simply by clicking within the palette.