<?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 Esri leaflet plugin GeoJSON layer finished loading? in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-plugin-geojson-layer-finished-loading/m-p/847052#M541</link>
    <description>&lt;P&gt;I'm using the esri leaflet plugin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://github.com/Esri/esri-leaflet" href="https://github.com/Esri/esri-leaflet" target="_blank"&gt;Esri/esri-leaflet · GitHub&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We're using a GeoJSON data layer with the plugin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, for debugging purposes, I need the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) how can I tell when the layer has finished loading?&lt;/P&gt;
&lt;P&gt;2) how can I access the GeoJSON data points when the layer has finished loading?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 13:49:52 GMT</pubDate>
    <dc:creator>uavalos</dc:creator>
    <dc:date>2023-08-28T13:49:52Z</dc:date>
    <item>
      <title>Esri leaflet plugin GeoJSON layer finished loading?</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-plugin-geojson-layer-finished-loading/m-p/847052#M541</link>
      <description>&lt;P&gt;I'm using the esri leaflet plugin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://github.com/Esri/esri-leaflet" href="https://github.com/Esri/esri-leaflet" target="_blank"&gt;Esri/esri-leaflet · GitHub&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We're using a GeoJSON data layer with the plugin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, for debugging purposes, I need the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) how can I tell when the layer has finished loading?&lt;/P&gt;
&lt;P&gt;2) how can I access the GeoJSON data points when the layer has finished loading?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:49:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-plugin-geojson-layer-finished-loading/m-p/847052#M541</guid>
      <dc:creator>uavalos</dc:creator>
      <dc:date>2023-08-28T13:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Esri leaflet plugin GeoJSON layer finished loading?</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-plugin-geojson-layer-finished-loading/m-p/847053#M542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. the featureLayer 'load' event is triggered when all graphics in the current map extent have been drawn.&lt;/P&gt;&lt;P&gt;&lt;A href="http://esri.github.io/esri-leaflet/api-reference/layers/feature-layer.html" title="http://esri.github.io/esri-leaflet/api-reference/layers/feature-layer.html" rel="nofollow noopener noreferrer" target="_blank"&gt;L.esri.Layers.FeatureLayer | Esri Leaflet&lt;/A&gt; &amp;gt; Events &amp;gt; 'Load' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var myFeatureLayer = new L.esri.featureLayer(...
myFeatureLayer.on('load', function(evt){
//do something cool
});&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. not an entirely satisfying answer, but see &lt;A href="https://github.com/Esri/esri-leaflet/issues/440" rel="nofollow noopener noreferrer" target="_blank"&gt;this&lt;/A&gt; thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:23:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-plugin-geojson-layer-finished-loading/m-p/847053#M542</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2021-12-12T10:23:59Z</dc:date>
    </item>
  </channel>
</rss>

