Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to build custom visual using bing maps. I have read in some posts that there are not any good source code examples available. Curious to know how they handle the scenario for getting bing map key per customer? Do they ask customer to input bing map key via 'Format' pane in custom visual?
What will be a better way to handle this scenario?
Solved! Go to Solution.
The Mapbox custom visual could act an example that you could extend to Bing. There's an option for access token under Format and a validation check for the token in the main visual file:
https://github.com/mapbox/mapboxgl-powerbi/blob/master/capabilities.json
I create own custom visual for bing maps. How you resolved the problem with the callback in code?
I add script https://www.bing.com/api/maps/mapcontrol?callback=my function. When I want to add function, power bi doesn't see global function in code.
The Mapbox custom visual could act an example that you could extend to Bing. There's an option for access token under Format and a validation check for the token in the main visual file:
https://github.com/mapbox/mapboxgl-powerbi/blob/master/capabilities.json
Thank you for the example resource.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
7 | |
6 | |
3 | |
2 | |
2 |