<?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 Feature Layer minZoom/maxZoom not applying consistanly in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/feature-layer-minzoom-maxzoom-not-applying/m-p/825678#M526</link>
    <description>&lt;P&gt;I have developed an application using the Esri leaflet plugin. I have several layers in the map - one of which is a feature layer. This was added to the map using the following snippet and for the most part works well:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var options = {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pointToLayer: lang.hitch(this, this._busStopsPointToLayer),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxZoom:18,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; minZoom:15,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where:exp&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var featureLayer = new L.esri.featureLayer(url, options);&lt;/P&gt;
&lt;P&gt;this.map.addLayer(featureLayer);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, sporadically when testing the application I can get some of the features appearing outside of the specified minZoom and maxZoom parameters, see the screen shot below. This is a subset of the bus stops that appear along the route and they should not appear at this scale.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG style="max-width: 1200px; max-height: 900px;" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/119997_pastedImage_0.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone seen this before or have ideas about how to fix it.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 13:43:35 GMT</pubDate>
    <dc:creator>SamDrummond2</dc:creator>
    <dc:date>2023-08-28T13:43:35Z</dc:date>
    <item>
      <title>Feature Layer minZoom/maxZoom not applying consistanly</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/feature-layer-minzoom-maxzoom-not-applying/m-p/825678#M526</link>
      <description>&lt;P&gt;I have developed an application using the Esri leaflet plugin. I have several layers in the map - one of which is a feature layer. This was added to the map using the following snippet and for the most part works well:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var options = {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pointToLayer: lang.hitch(this, this._busStopsPointToLayer),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxZoom:18,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; minZoom:15,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where:exp&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var featureLayer = new L.esri.featureLayer(url, options);&lt;/P&gt;
&lt;P&gt;this.map.addLayer(featureLayer);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, sporadically when testing the application I can get some of the features appearing outside of the specified minZoom and maxZoom parameters, see the screen shot below. This is a subset of the bus stops that appear along the route and they should not appear at this scale.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG style="max-width: 1200px; max-height: 900px;" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/119997_pastedImage_0.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone seen this before or have ideas about how to fix it.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:43:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/feature-layer-minzoom-maxzoom-not-applying/m-p/825678#M526</guid>
      <dc:creator>SamDrummond2</dc:creator>
      <dc:date>2023-08-28T13:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer minZoom/maxZoom not applying consistanly</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/feature-layer-minzoom-maxzoom-not-applying/m-p/825679#M527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have not seen this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what version of esri-leaflet are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 15:18:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/feature-layer-minzoom-maxzoom-not-applying/m-p/825679#M527</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2015-07-31T15:18:42Z</dc:date>
    </item>
  </channel>
</rss>

