Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I try to create own custom visual with bing maps. I added script "https://www.bing.com/api/maps/mapcontrol?callback=InitMap"
and div with Id:
Solved! Go to Solution.
Please try using API 1.13.0 if it works there.
PBI isolation might break some libraries that work by injecting JS from remote hosts.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Our suggestion is to check window.InitMap and window.window.InitMap.
What Custom Visuals API version are you using?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
window.InitMap and window.window.InitMap don't help.
What API version are you using?
Power BI creates a copy of window for isolating Power BI JS from Custom Visual JS. It might be a root cause of this issue.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
I use API v2.3.0
Please try using API 1.13.0 if it works there.
PBI isolation might break some libraries that work by injecting JS from remote hosts.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Thanks. It's helps
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.