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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Mapbox Style URL is not Working

Hello, I created a custom Mapbox map and need to load it in the PowerBI Visual. My problem is the Style RL that I copied from Mapbox is not working. The normal maps like light dark etc work but not the custommap. Does somebody know how I can fix this Problem?

error.jpg

This is on the errorlist, but I dont know how this works.

1 ACCEPTED SOLUTION
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

The problem is that you are adding the layer to the map before the map is loaded. Be sure you are attaching the tile source and the style layer in the load event handler.

 

Here are some similar posts that provide some methods, hope these could help you:

Style is not done loading: Mapbox GL JS - Stack Overflow

Mapbox GL JS: Style is not done loading - Stack Overflow

javascript - Mapbox Error: Style is not done loading - Geographic Information Systems Stack Exchange

 

And below are some tuturials in detail, you may kindly follow:

Create data visualizations with the Mapbox Visual for Power BI

MapBox 101 for Power BI

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

Any updates?

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @v-eqin-msft,

 

thanks for the help. Now it works. 👍 

 

Best Regards,

 

Pierre Blanc

v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

The problem is that you are adding the layer to the map before the map is loaded. Be sure you are attaching the tile source and the style layer in the load event handler.

 

Here are some similar posts that provide some methods, hope these could help you:

Style is not done loading: Mapbox GL JS - Stack Overflow

Mapbox GL JS: Style is not done loading - Stack Overflow

javascript - Mapbox Error: Style is not done loading - Geographic Information Systems Stack Exchange

 

And below are some tuturials in detail, you may kindly follow:

Create data visualizations with the Mapbox Visual for Power BI

MapBox 101 for Power BI

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.