<?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: Problem with L.esri.FeatureLayer and map panes in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/problem-with-l-esri-featurelayer-and-map-panes/m-p/763813#M157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apparently if you have a FeatureServer layer that you:&lt;/P&gt;&lt;P&gt;add to the map&lt;/P&gt;&lt;P&gt;remove from the map&lt;/P&gt;&lt;P&gt;add to the map again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then when you re-add it to the map you *must* use the original pane where you placed the FeatureServer layer.&amp;nbsp; It is OK to change the zindex to control the stacking order.&amp;nbsp; But you should not make&amp;nbsp; a new pane when you add FeatureServer data that you previously added to your map and then deleted.&lt;/P&gt;&lt;P&gt;My map works fine now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2020 21:47:25 GMT</pubDate>
    <dc:creator>JosephElfelt1</dc:creator>
    <dc:date>2020-03-05T21:47:25Z</dc:date>
    <item>
      <title>Problem with L.esri.FeatureLayer and map panes</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/problem-with-l-esri-featurelayer-and-map-panes/m-p/763812#M156</link>
      <description>&lt;P&gt;Each Layer I add to my map goes into its own custom pane.&amp;nbsp; Each custom pane is assigned a zindex starting with 401 so I can control the stacking order.&amp;nbsp; I&amp;nbsp; do the following.&lt;/P&gt;
&lt;P&gt;1. Add FeatureLayer, pane = "pane_401", zindex = 401&lt;/P&gt;
&lt;P&gt;2. Add DynamicMapLayer, pane = "pane_402", zindex = 402&lt;/P&gt;
&lt;P&gt;3. Remove the FeatureLayer from the map&lt;/P&gt;
&lt;P&gt;4. Add the FeatureLayer, pane = "pane_403", zindex = 403&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The FeatureLayer should be on top of the DynamicMapLayer but it is not, it is underneath.&lt;/P&gt;
&lt;P&gt;If I am only adding/deleting DynamicMapLayers then the stacking order on the map is fine.&lt;/P&gt;
&lt;P&gt;Obviously there is something about FeatureLayer that I am not understanding.&lt;/P&gt;
&lt;P&gt;Can anyone point me in the right direction?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;</description>
      <pubDate>Mon, 28 Aug 2023 12:52:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/problem-with-l-esri-featurelayer-and-map-panes/m-p/763812#M156</guid>
      <dc:creator>JosephElfelt1</dc:creator>
      <dc:date>2023-08-28T12:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with L.esri.FeatureLayer and map panes</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/problem-with-l-esri-featurelayer-and-map-panes/m-p/763813#M157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apparently if you have a FeatureServer layer that you:&lt;/P&gt;&lt;P&gt;add to the map&lt;/P&gt;&lt;P&gt;remove from the map&lt;/P&gt;&lt;P&gt;add to the map again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then when you re-add it to the map you *must* use the original pane where you placed the FeatureServer layer.&amp;nbsp; It is OK to change the zindex to control the stacking order.&amp;nbsp; But you should not make&amp;nbsp; a new pane when you add FeatureServer data that you previously added to your map and then deleted.&lt;/P&gt;&lt;P&gt;My map works fine now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 21:47:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/problem-with-l-esri-featurelayer-and-map-panes/m-p/763813#M157</guid>
      <dc:creator>JosephElfelt1</dc:creator>
      <dc:date>2020-03-05T21:47:25Z</dc:date>
    </item>
  </channel>
</rss>

