<?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: Running Leaflet Isolated.. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692177#M64368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Esri-leaflet does not require any CDN. It's only dependency is &lt;/SPAN&gt;&lt;A href="https://github.com/Leaflet/Leaflet"&gt;Leaflet&lt;/A&gt;&lt;SPAN&gt;, which you could download and host directly on your own.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Dec 2013 16:01:05 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2013-12-20T16:01:05Z</dc:date>
    <item>
      <title>Running Leaflet Isolated..</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692176#M64367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been eyeing the esri-leaflet on GitHub &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://github.com/Esri/esri-leaflet" rel="nofollow" target="_blank"&gt;https://github.com/Esri/esri-leaflet&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; and have been running it on a VM that I have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The VM is connected to the net and can make connection to ArcGIS online..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am just starting the investigation of this, and want to know if it would be something I could host locally from my server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 15:00:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692176#M64367</guid>
      <dc:creator>AndrewDavis</dc:creator>
      <dc:date>2013-12-20T15:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Running Leaflet Isolated..</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692177#M64368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Esri-leaflet does not require any CDN. It's only dependency is &lt;/SPAN&gt;&lt;A href="https://github.com/Leaflet/Leaflet"&gt;Leaflet&lt;/A&gt;&lt;SPAN&gt;, which you could download and host directly on your own.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 16:01:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692177#M64368</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2013-12-20T16:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Running Leaflet Isolated..</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692178#M64369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Esri-leaflet does not require any CDN. It's only dependency is &lt;A href="https://github.com/Leaflet/Leaflet"&gt;Leaflet&lt;/A&gt;, which you could download and host directly on your own.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply...&amp;nbsp; Happy New Year...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the code for leaflet downloaded and hosted on my machines but am still unable to get a map to display with the setup from download.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working on the arcgisbasemap.html example from the leafelet examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first thing I ran into was a lack of the leaflet.css and leaflet.js files.&amp;nbsp; I downloaded them and put them into the setup for my leaflet and can see that they are working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Inside the loading of the map.. which looks like the examples are published maps residing on arcgisonline&amp;nbsp; ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is this the case?..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 11:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692178#M64369</guid>
      <dc:creator>AndrewDavis</dc:creator>
      <dc:date>2014-01-08T11:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Running Leaflet Isolated..</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692179#M64370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you download it as a zipfile off github? The compiled files are in the dist folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an example of how I load files for an app where I have the leaflet and esri-leaflet source code in a folder called vendor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
&amp;lt;meta http-equiv='content-type' content='text/html; charset=utf-8' /&amp;gt;
&amp;lt;meta name='viewport' content='initial-scale=1.0 maximum-scale=1.0'&amp;gt;

&amp;lt;link rel="stylesheet" href="vendor/Leaflet/dist/leaflet.css" /&amp;gt;
&amp;lt;link rel="stylesheet" href="vendor/Leaflet.markercluster/dist/MarkerCluster.css" /&amp;gt;
&amp;lt;link rel="stylesheet" href="vendor/Leaflet.markercluster/dist/MarkerCluster.Default.css" /&amp;gt;
&amp;lt;link rel="stylesheet" href="vendor/leaflet-locatecontrol/src/L.Control.Locate.css" /&amp;gt;
&amp;lt;link rel="stylesheet" href="css/styles.css" /&amp;gt;

&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;script src="vendor/Leaflet/dist/leaflet-src.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="vendor/Leaflet.markercluster/dist/leaflet.markercluster-src.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="vendor/leaflet-locatecontrol/src/L.Control.Locate.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="vendor/esri-leaflet/dist/esri-leaflet-src.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="vendor/esri-leaflet/dist/extras/clustered-feature-layer-src.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="bundle.js"&amp;gt;&amp;lt;/script&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the list of dependencies that esri-leaflet uses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/Esri/esri-leaflet#dependencies" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/Esri/esri-leaflet#dependencies&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;But all these are already included in the compiled files in the esri-leaflet/dist folder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:07:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692179#M64370</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-12-12T05:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Running Leaflet Isolated..</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692180#M64371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rene..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply.&amp;nbsp; Your sample page is helpful..&amp;nbsp; my 'dist' folder does not include the .css files.&amp;nbsp; There are some of the .js files, and the sub-folders inside the 'vendor' folder does not include any files as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I may have downloaded the wrong Zip from the git hub page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used the "download .zip" button on the right side of the page.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 13:54:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692180#M64371</guid>
      <dc:creator>AndrewDavis</dc:creator>
      <dc:date>2014-01-08T13:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Running Leaflet Isolated..</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692181#M64372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The esri-leaflet library doesn't have any css files, but leaflet does.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This link should work&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://github.com/Leaflet/Leaflet/archive/master.zip" rel="nofollow" target="_blank"&gt;https://github.com/Leaflet/Leaflet/archive/master.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The vendor folder is empty for esri-leaflet unless you need to compile from source. There are instructions on the github page. But the dist folder has everything you need for esri-leaflet except leaflet itself, that's why you need to download that separately.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 14:06:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692181#M64372</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2014-01-08T14:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Running Leaflet Isolated..</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692182#M64373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks..&amp;nbsp; This seems to be working..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already clicked the check for the answer you just gave...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 16:17:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/running-leaflet-isolated/m-p/692182#M64373</guid>
      <dc:creator>AndrewDavis</dc:creator>
      <dc:date>2014-01-08T16:17:09Z</dc:date>
    </item>
  </channel>
</rss>

