<?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: how to use arcgis-leaflet with meteor js? in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-to-use-arcgis-leaflet-with-meteor-js/m-p/803528#M338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dadi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't work with Meteor so I can't speak to using that framework but I noticed that you're not passing a feature layer URL in your featureLayer constructor. You'll need to point to a specific layer number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2016 17:02:09 GMT</pubDate>
    <dc:creator>SethLewis1</dc:creator>
    <dc:date>2016-10-24T17:02:09Z</dc:date>
    <item>
      <title>how to use arcgis-leaflet with meteor js?</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-to-use-arcgis-leaflet-with-meteor-js/m-p/803527#M337</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;TABLE style="color: #242729; background-color: #ffffff; border: 0px; font-size: 13px;"&gt;
&lt;TBODY style="border: 0px; font-size: 13px;"&gt;
&lt;TR style="border: 0px; font-size: 13px;"&gt;
&lt;TD class="" style="border: 0px; font-size: 13px;"&gt;
&lt;DIV style="border: 0px; font-size: 13px;"&gt;
&lt;DIV class="" style="border: 0px; margin: 0px 0px 5px;"&gt;
&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;I'm making a simple app to show leaflet map with meteor and I'm using the package npm &lt;STRONG&gt;"esri-leaflet".&lt;/STRONG&gt;But it doesn't work.This is my code :&lt;/P&gt;
&lt;P style="border: 0px; margin: 0px 0px 1em;"&gt;Html:&lt;/P&gt;
&lt;PRE class="lia-code-sample line-numbers language-none" tabindex="0"&gt;&lt;CODE&gt;&amp;lt;div id="viewDiv"&amp;gt;    Explore D3 &amp;lt;/div&amp;gt; &amp;lt;/template&amp;gt;
javascript&amp;amp;colon;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE class="lia-code-sample line-numbers language-none" tabindex="0"&gt;&lt;CODE&gt;onRendered(){  L = require('esri-leaflet')     
var map = L.map('viewDiv').setView([45.528, -122.680], 13);    
 L.esri.basemapLayer("Gray").addTo(map);      var parks = L.esri.featureLayer({   
      url: "http://gis.d3smartcity.ae/arcgis/rest/services/Operation_layers/d3_Masterplan/MapServer",     
    style: function () {             return { color: "#70ca49", weight: 2 };         }     }).addTo(map);   
   var popupTemplate = "&amp;lt;h3&amp;gt;{NAME}&amp;lt;/h3&amp;gt;{ACRES} Acres&amp;lt;br&amp;gt;&amp;lt;small&amp;gt;Property ID: {PROPERTYID}&amp;lt;small&amp;gt;";    
  parks.bindPopup(function (e) {         return L.Util.template(popupTemplate, e.feature.properties)     }); }

But I have always the same problem : 
I'll be thankful for any help!&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:26:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-to-use-arcgis-leaflet-with-meteor-js/m-p/803527#M337</guid>
      <dc:creator>meriammme</dc:creator>
      <dc:date>2023-08-28T13:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to use arcgis-leaflet with meteor js?</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-to-use-arcgis-leaflet-with-meteor-js/m-p/803528#M338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dadi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't work with Meteor so I can't speak to using that framework but I noticed that you're not passing a feature layer URL in your featureLayer constructor. You'll need to point to a specific layer number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 17:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-to-use-arcgis-leaflet-with-meteor-js/m-p/803528#M338</guid>
      <dc:creator>SethLewis1</dc:creator>
      <dc:date>2016-10-24T17:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to use arcgis-leaflet with meteor js?</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-to-use-arcgis-leaflet-with-meteor-js/m-p/803529#M339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;L.map is not a function is what the error screams. I'm not a Meteor user but you usually see this when the app doesn't see the library. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Esri example they also call the Leaflet Library, your example just refers to the Esri lib not the Leaflet Lib. I believe you need both. Once your app can see the Library it show draw the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;&amp;nbsp; &lt;SPAN class=""&gt;&amp;lt;!-- Load Leaflet from CDN--&amp;gt;&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Funpkg.com%2Fleaflet%401.0.0%2Fdist%2Fleaflet.css" rel="nofollow" target="_blank"&gt;https://unpkg.com/leaflet@1.0.0/dist/leaflet.css&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Funpkg.com%2Fleaflet%401.0.0%2Fdist%2Fleaflet-src.js" rel="nofollow" target="_blank"&gt;https://unpkg.com/leaflet@1.0.0/dist/leaflet-src.js&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;&amp;lt;!-- Load Esri Leaflet from CDN --&amp;gt;&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Funpkg.com%2Fesri-leaflet%402.0.4" rel="nofollow" target="_blank"&gt;https://unpkg.com/esri-leaflet@2.0.4&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 17:30:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/how-to-use-arcgis-leaflet-with-meteor-js/m-p/803529#M339</guid>
      <dc:creator>BillChappell</dc:creator>
      <dc:date>2016-10-24T17:30:58Z</dc:date>
    </item>
  </channel>
</rss>

