Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi all,
I have been working on a JSON file to customize my power BI template and one of the last things that doesn't work is the map theme cusotmization. Here is whate I wrote :
"map": { "*": { "legend": [{ "show": false, "position": "Top", "showTitle": true, "titleText": "", "legendColor": { "solid": { "color": "#FFFFFF"}}, "fontFamily": "Arial Black", "fontSize": 12 }], "dataPoint": [{ "defaultCategoryColor": { "solid": { "color": "#01B1AA"}}, "showAllDataPoints": true }], "categoryLabels": [{ "show": false, "color": { "solid": { "color": "#EEEEEE"}}, "fontSize": 10, "fontFamily": "Arial Black", "enableBackground": true, "backgroundColor": { "solid": { "color": "#FFFFFF"}}, "backgroundTransparency": 50 }], "bubbles": [{ "bubbleSize": 3 }], "mapControls": [{ "autoZoom": true, "zoomLevel": 50, "centerLatitude": 43, "centerLongitude": -83 }], "mapStyles": [{ "maptheme": "Grayscale" }] } },
Unfortunately, when I import my theme, the map theme remains the default Road theme and not the Gray Scale theme I would like. Does anyone have a suggestion?
Solved! Go to Solution.
Hi @Anonymous ,
Please check the sample in this document: https://docs.microsoft.com/en-us/power-bi/desktop-report-themes
"mapStyles": { "mapTheme": [ { "value": "aerial", "displayName": "Aerial" }, { "value": "canvasDark", "displayName": "Dark" }, { "value": "canvasLight", "displayName": "Light" }, { "value": "grayscale", "displayName": "Grayscale" }, { "value": "road", "displayName": "Road" } ] },
The map visual should be changed if we have set the theme true.
Best Regards,
Teige
Hi @Anonymous ,
Please check the sample in this document: https://docs.microsoft.com/en-us/power-bi/desktop-report-themes
"mapStyles": { "mapTheme": [ { "value": "aerial", "displayName": "Aerial" }, { "value": "canvasDark", "displayName": "Dark" }, { "value": "canvasLight", "displayName": "Light" }, { "value": "grayscale", "displayName": "Grayscale" }, { "value": "road", "displayName": "Road" } ] },
The map visual should be changed if we have set the theme true.
Best Regards,
Teige
It works!
Thanks you so much Teige!
Marie
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.