The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I'm struggling with a problem with a custom visual maps in Mapbox with PowerBI. I'm quite new with Mapbox but managed to create quite nice looking report in PowerBI, except one annoying problem.
The thing is, when I create a map with Mapbow visual, everything seems good when I use the default maps, let say Streets, as a basemap. But I need to add one simple custom visualisation (shapefile etc) on my basemap, which shows some grids around the area I'm working with. It doesn't need to interact with the user, it just needs to show the boundary information above the map, which are crucial in this case.
When I create a new style in Mapbox Studio, everything seems as expected in Style editor. I can add items, such as my custom shape, to my map and eveything seems great on my screen. But when I copy my style URL to my PowerBI, the map is missing many details, such as road network, POIs, place labels etc. It happens before I haven't even added any personal customizations on my map and I have just started with some Classic Template (such as Streets or Navigation). I can restore some detail (such as road network) when I first delete them and then re-add them in Style Editor. But some items, suht as POIs and labels won't appear in PowerBI, even though they are clearly visible in Style Editor. The choropleth visualizations works as expected in PowerBI, but that's not what I want, I just need some simple add-in visualisation above my base map.
I cannot figure out what causes the problem, but it's quite crucial with my report. Any help appreciated!
This is how it should look (Mapbox deafult basemap):
Mapbox default map (Streets)
This is how it looks, when I copy the style from Mapbox Studio via Style URL:
Style URL copied via Mapbox Studio
Solved! Go to Solution.
Hi @JJ28,
Mapbox in Power BI does have some limitations, especially when it comes to layering custom base maps. A good alternative you might want to look into is the Icon Map custom visual. It offers a lot more flexibility including support for custom tile servers and GeoJSON overlays all while keeping your basemap’s appearance intact. You can host your custom layers (like shapefiles or GeoJSON) on a tile server or through Mapbox Studio, and then point Icon Map to both the basemap and your layered visuals.
Another option worth exploring is Azure Maps, which also allows you to add reference layers using GeoJSON. Just note that you may need to enable preview features for full functionality.
If you'd like, I’d be happy to walk you through setting up Icon Map or help you get your custom layers ready for use. Let me know how you'd like to move forward.
Best Regards,
Hammad.
Hi @JJ28,
Thanks for reaching out to the Microsoft fabric community forum.
It looks like you are facing issues with your custom visual. As @Ritaf1983 already mentioned that this visual is a custom one and doesn't comes under Microsoft's scope, kindly contact the owner of the custom visuals.
I would also take a moment to thank @Ritaf1983, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Hammad.
Community Support Team
If this post helps then please mark it as a solution, so that other members find it more quickly.
Thank you.
Hi @JJ28,
As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.
If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.
Hi and thanks for the replies,
I still haven't found a solution for my issue, though. I have emailed my problem also to the mapbox- email address mentioned in this thread, but I'm not too confident getting a reply from there. This may be some kind of a bug where is no simple solution. Anyway it would be still great to find some workaround!
Hi @JJ28,
As you mentioned you emailed your issue to provided email address, I wanted to confirm if you were able to solve your issue with the help of the publisher of the visual.
Also can you confirm if you are looking for a workaround with the same custom visual or you want some other visuals that give same result as the custom visual.
Best regards,
Hammad.
Hi @JJ28,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution so that other community members can find it easily.
Thank you.
Hi and thank you for the reply,
I still haven't found either a solution or a response from the publisher of the visual. I would be happy to find a workaround but I guess it's not an easy task. I need similar kind of functionalities that Mapbox (or why not other map visual as well) provides but I would also need a possibility to add my own custom-layer-visualization which doesn't mess the appearence of the basemap. I guess PowerBI add-in map visualizations doesn't provide me to use my own custom maps and that's why they may not be the solution. So far I'm continuing to use Mapbox (or Azure) visual without my own basemap but that's not my ideal solution.
Hi @JJ28,
Mapbox in Power BI does have some limitations, especially when it comes to layering custom base maps. A good alternative you might want to look into is the Icon Map custom visual. It offers a lot more flexibility including support for custom tile servers and GeoJSON overlays all while keeping your basemap’s appearance intact. You can host your custom layers (like shapefiles or GeoJSON) on a tile server or through Mapbox Studio, and then point Icon Map to both the basemap and your layered visuals.
Another option worth exploring is Azure Maps, which also allows you to add reference layers using GeoJSON. Just note that you may need to enable preview features for full functionality.
If you'd like, I’d be happy to walk you through setting up Icon Map or help you get your custom layers ready for use. Let me know how you'd like to move forward.
Best Regards,
Hammad.
Hi and thanks for the reply,
Actually I just also figured out that Azure Maps allows me to use my own reference layers and it seems to work fine! So at this point this solved my problem.
Icon Map would probably also be a great choice but I guess my project needs free-to-use solutions at this point.
Hi @JJ28
This visual is a custom visual and not part of the core visuals supported by Microsoft.
For any issues or questions, it's recommended to contact the visual's publisher directly at:
mapbox_custom_visual@starschema.com
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly