Forum Discussion
How to change background color of differnent countries in azure maps
I want to change the background color of Europe, America, and China with orange, blue, and red respectively. I have searched azure maps document and their demo example and I didn't find the answer. By default, all countries background color is in white color but I want to change it. Is it possible? If yes please help me.
Thank You in Advance
1 Reply
It is not possible to directly change the background color of individual countries in Azure Maps using the base map styles. Instead, you must consider overlay custom polygon data (GeoJSON) and apply a choropleth or polygon layer style to color specific regions such as Europe, America, and China.
https://learn.microsoft.com/en-us/azure/azure-maps/choose-map-style
https://samples.azuremaps.com/
https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Samples/Demos/Create%20a%20Choropleth%20Map/Create%20a%20Choropleth%20Map.html