<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [Leaflet] Power BI custom visual - Script keep loading and is not working in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/794597#M20799</link>
    <description>&lt;P&gt;Good work!....it's still completely baffling me&amp;nbsp;&lt;img id="smileylol" class="emoticon emoticon-smileylol" src="https://community.fabric.microsoft.com/i/smilies/16x16_smiley-lol.png" alt="Smiley LOL" title="Smiley LOL" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2019 14:04:25 GMT</pubDate>
    <dc:creator>RyanBentham</dc:creator>
    <dc:date>2019-09-17T14:04:25Z</dc:date>
    <item>
      <title>[Leaflet] Power BI custom visual - Script keep loading and is not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/614075#M18452</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's my first post to this forum, I hope I will find some help.&lt;/P&gt;&lt;P&gt;I am a beginner using R and Power Bi but my goal is to be able scripting on leaflet maps using R in Power Bi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="gdrive" href="https://drive.google.com/open?id=1bse7_x-UeVzd23SHakNAvYUhzA8vXnPk" target="_self"&gt;Here is a link to my actual folder&lt;/A&gt;&amp;nbsp; (I don't know if i provide enough informations here so .. )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my script.r file :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;source('./r_files/flatten_HTML.r')

############### Library Declarations ###############
install.packages("tidyverse")

####################################################

################### Actual code ####################
library(leaflet)
library(plotly)
library(tidyverse)
library(ggplot2)
library(htmlwidgets)
library(XML)
library(sp)
library(maps)


m &amp;lt;- leaflet() %&amp;gt;%
  addTiles() %&amp;gt;%  # Add default OpenStreetMap map tiles
  addMarkers(lng=174.768, lat=-36.852, popup="The birthplace of R")
m  # Print the map

####################################################

############# Create and save widget ###############
p = ggplotly(g);
internalSaveWidget(p, 'out.html');
####################################################&lt;/PRE&gt;&lt;P&gt;I would like to get it working like &lt;A title="rstudio.github/leaflet" href="https://rstudio.github.io/leaflet/" target="_self"&gt;the first example from this website&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="picture" href="https://drive.google.com/open?id=14dp0SLHnSa9SEpW5PAJhsHhRgSXr_H6J" target="_self"&gt;And this is what I get&amp;nbsp;&lt;/A&gt;&amp;nbsp;, it keeps loading for 5 minutes then a message that says that the script stop loading after 5 minutes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pbiprob.JPG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/144306iB6E83A2A74D0B3CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pbiprob.JPG" alt="Pbiprob.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(the arrow is supposed to show the loading circle)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 15:47:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/614075#M18452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-31T15:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: [Leaflet] Power BI custom visual - Script keep loading and is not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/614807#M18462</link>
      <description>&lt;P&gt;We suggest to send email to R-script support:&amp;nbsp;Power BI R Custom Visuals Support &amp;lt;&lt;STRONG&gt;pbircvsupport@microsoft.com&lt;/STRONG&gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 10:33:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/614807#M18462</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2019-02-01T10:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: [Leaflet] Power BI custom visual - Script keep loading and is not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/614876#M18464</link>
      <description>&lt;P&gt;Okay, I will try this !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.fabric.microsoft.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 13:15:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/614876#M18464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-01T13:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: [Leaflet] Power BI custom visual - Script keep loading and is not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/791981#M20757</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp; &amp;nbsp;Did you get any joy using leaflet in PowerBI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 15:24:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/791981#M20757</guid>
      <dc:creator>RyanBentham</dc:creator>
      <dc:date>2019-09-13T15:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: [Leaflet] Power BI custom visual - Script keep loading and is not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/794472#M20797</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/49663"&gt;@RyanBentham&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I finally could get the visual working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="Power BI + leaflet" href="https://giphy.com/gifs/MBlDJ2lD5SEEnnBi4V/html5" target="_blank" rel="noopener"&gt;Here is a GIF of a beta sample previzualisation of my project&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 12:42:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/794472#M20797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-17T12:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: [Leaflet] Power BI custom visual - Script keep loading and is not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/794597#M20799</link>
      <description>&lt;P&gt;Good work!....it's still completely baffling me&amp;nbsp;&lt;img id="smileylol" class="emoticon emoticon-smileylol" src="https://community.fabric.microsoft.com/i/smilies/16x16_smiley-lol.png" alt="Smiley LOL" title="Smiley LOL" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 14:04:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/794597#M20799</guid>
      <dc:creator>RyanBentham</dc:creator>
      <dc:date>2019-09-17T14:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: [Leaflet] Power BI custom visual - Script keep loading and is not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/795063#M20806</link>
      <description>&lt;P&gt;Nice work!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's based on Leaflet too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Data-Stories-Gallery/Icon-Map-custom-visual-examples/td-p/789914" target="_blank"&gt;https://community.powerbi.com/t5/Data-Stories-Gallery/Icon-Map-custom-visual-examples/td-p/789914&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://powerbi.jamesdales.com/how-to-use-icon-map/" target="_blank"&gt;https://powerbi.jamesdales.com/how-to-use-icon-map/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 23:47:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/795063#M20806</guid>
      <dc:creator>jamesdales</dc:creator>
      <dc:date>2019-09-17T23:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: [Leaflet] Power BI custom visual - Script keep loading and is not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/795431#M20808</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/2762"&gt;@jamesdales&lt;/a&gt;&amp;nbsp;.&amp;nbsp; The Icon Map is excellent, really is.&amp;nbsp; 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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Personally I'm not looking to reinvent the wheel or anything like that but just determined to get some leaflet script showing in PBI.&amp;nbsp; &amp;nbsp;I'm right in saying that r-script hasn't been used for this and it's all via the d3/leaflet libraries ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 07:58:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/795431#M20808</guid>
      <dc:creator>RyanBentham</dc:creator>
      <dc:date>2019-09-18T07:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: [Leaflet] Power BI custom visual - Script keep loading and is not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/795973#M20817</link>
      <description>&lt;P&gt;Cool - just didn't want you having to go to a load of effort if you didn't need to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes - Icon Map is all JavaScript and Leaflet. I wouldn't know where to start with R - so good luck &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 15:52:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/795973#M20817</guid>
      <dc:creator>jamesdales</dc:creator>
      <dc:date>2019-09-18T15:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: [Leaflet] Power BI custom visual - Script keep loading and is not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/2355430#M34573</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/2762"&gt;@jamesdales&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/49663"&gt;@RyanBentham&lt;/a&gt;&amp;nbsp; @Anomimous,&lt;/P&gt;&lt;P&gt;Have you got a workaround to this issue? Having the same issue here trying to create a viz with leaflet and some polygons. It freezes loading the viz and stops after 5 min.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find the solution mentioned by&amp;nbsp;@Anomimous. Do you have a suggestion on how to solve this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 09:08:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/2355430#M34573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-23T09:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: [Leaflet] Power BI custom visual - Script keep loading and is not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/3931214#M52663</link>
      <description>&lt;P&gt;how did you solve this . for me some errors like lint validation error&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 05:14:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Leaflet-Power-BI-custom-visual-Script-keep-loading-and-is-not/m-p/3931214#M52663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-20T05:14:07Z</dc:date>
    </item>
  </channel>
</rss>

