Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Azure Map reference layer not changing from default

I am using the Azure Map visualization to show our client locations. I want to add a reference layer with our office locations that doesn't overpower my client locations. (The below photo shows the current map with reference layer.)

Per this documentation (https://docs.microsoft.com/en-us/javascript/api/azure-maps-control/atlas.bubblelayeroptions?view=azu...), I should be able to specify the bubble opacity, the stroke width and color, etc. though these settings aren't changing. The only settings that are working are "marker-size": "small" and "color": "#000000". 

I want the stroke color to go away, be black, or at the least be 1 rather than the default 2. I'd like bubble "radius": 4, rather than "marker-size": "small" which is 6, but when I specify "radius": 4 rather than "marker-size": "small" in my .geojson file, the bubbles default to size 8. I'd also love the opacity to be .8 rather than the default 1... 

Does anyone know how to make these specifications work in the reference layer?

 

Map w Reference Layer.png

 

Here's a small sample of my .geojson code that produced the above map, where my stroke and opacity specifications are being ignored:

{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"marker-color": "#000000",

"marker-size": "small",
"opacity": 0.8,
"strokeColor": "#000000",
"strokeWidth": 1,
"BKD Office": "Austin Office"
},
"geometry": {
"type": "Point",
"coordinates": [
-97.82956,
30.28897
]
}
},

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Maybe you can first validate the .geojson code with some tools like GeoJSON Viewer & Validator. Also, you can use this tool to generate code for formatting settings. 

 

Best Regards,
Community Support Team _ Jing

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.