<?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: Custom Visual and Leaflet in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Visual-and-Leaflet/m-p/2002314#M3845</link>
    <description>&lt;P&gt;Nevermind. I was trying all day uesturday and nothing. Wiped everything and started again. If anyone else is having this issue. After you install the Power BI Custom Visual add:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;import&amp;nbsp;*&amp;nbsp;as&amp;nbsp;L&amp;nbsp;from&amp;nbsp;'leaflet';&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;to your imports. Also remember to add:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;@import&amp;nbsp;(less)&amp;nbsp;"./../node_modules/leaflet/dist/leaflet.css";&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;to your visual.less file or you will be missing tiles.&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Aug 2021 11:29:19 GMT</pubDate>
    <dc:creator>bhester</dc:creator>
    <dc:date>2021-08-06T11:29:19Z</dc:date>
    <item>
      <title>Custom Visual and Leaflet</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Visual-and-Leaflet/m-p/2001847#M3843</link>
      <description>&lt;P&gt;I'm trying to use leaflet in a custom visual. I setup my enviroment but the L value generates an error that says 'L' refers to a UMD Global, but the current file is a module. Consider adding an import instead. I have attempted every why I know how to import the 'L' value. Has anyone used Leaflet with Power BI and have a solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 07:58:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Visual-and-Leaflet/m-p/2001847#M3843</guid>
      <dc:creator>bhester</dc:creator>
      <dc:date>2021-08-06T07:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual and Leaflet</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Visual-and-Leaflet/m-p/2002314#M3845</link>
      <description>&lt;P&gt;Nevermind. I was trying all day uesturday and nothing. Wiped everything and started again. If anyone else is having this issue. After you install the Power BI Custom Visual add:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;import&amp;nbsp;*&amp;nbsp;as&amp;nbsp;L&amp;nbsp;from&amp;nbsp;'leaflet';&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;to your imports. Also remember to add:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;@import&amp;nbsp;(less)&amp;nbsp;"./../node_modules/leaflet/dist/leaflet.css";&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;to your visual.less file or you will be missing tiles.&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 11:29:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Visual-and-Leaflet/m-p/2002314#M3845</guid>
      <dc:creator>bhester</dc:creator>
      <dc:date>2021-08-06T11:29:19Z</dc:date>
    </item>
  </channel>
</rss>

