Forum Discussion
[Leaflet] Power BI custom visual - Script keep loading and is not working
- 7 years ago
We suggest to send email to R-script support: Power BI R Custom Visuals Support <[email protected]>
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
I finally could get the visual working.
Yes, I finally had the possibility to design the map that my company was looking for and that the basics bing power BI features did not meet.
Here is a GIF of a beta sample previzualisation of my project
Nice work!
To save you re-inventing the wheel too much, you might also want to check out the Icon Map custom visual. The new version (which hopefully will be out any time now once I hear back from the custom visuals team) should be able to display pins and shaded areas on the same map.
It's based on Leaflet too.
https://community.powerbi.com/t5/Data-Stories-Gallery/Icon-Map-custom-visual-examples/td-p/789914
https://powerbi.jamesdales.com/how-to-use-icon-map/
- RyanBentham6 years agoKudo Kingpin
Hey jamesdales . The Icon Map is excellent, really is. I've been using it quite a bit as at the moment I'm pretty sure it's the only way to get Icons/image URLS binded to data points on a map in PBI.
Personally I'm not looking to reinvent the wheel or anything like that but just determined to get some leaflet script showing in PBI. I'm right in saying that r-script hasn't been used for this and it's all via the d3/leaflet libraries ?
Thanks
- jamesdales6 years agoKudo Kingpin
Cool - just didn't want you having to go to a load of effort if you didn't need to.
Yes - Icon Map is all JavaScript and Leaflet. I wouldn't know where to start with R - so good luck :-)