<?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: Why does not FeatureLayer support sub layers? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-not-featurelayer-support-sub-layers/m-p/622238#M58120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;It has always been this was in the JS API. A feature layer returns actual geometry from the server that is rendered client side (which can be very costly on client side resourses). Where a MapImageLayer (what use to be an ArcGISDynamicMapServiceLayer) is rendered on the server and a image is returned. Having a FeatureLayer allow sublayers would be detrimental to the client browser resources most likely.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 13:57:23 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-11-29T13:57:23Z</dc:date>
    <item>
      <title>Why does not FeatureLayer support sub layers?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-not-featurelayer-support-sub-layers/m-p/622237#M58119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From what I can gather FeatureLayer does not support sub layers. Why not?&lt;/P&gt;&lt;P&gt;The workaround is implementing the layer as a MapImage layer, I can still add a popup on it. But now I lost search! The search widget only supports FeatureLayer and this Locator thingy.&lt;/P&gt;&lt;P&gt;Its a bigger workaround implementing this as a MapImageLayer, for making it hold a lot of data as if were a FeatureLayer to be able to set up the search source.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 11:46:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-not-featurelayer-support-sub-layers/m-p/622237#M58119</guid>
      <dc:creator>LarsFagerbakke</dc:creator>
      <dc:date>2017-11-29T11:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why does not FeatureLayer support sub layers?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-not-featurelayer-support-sub-layers/m-p/622238#M58120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;It has always been this was in the JS API. A feature layer returns actual geometry from the server that is rendered client side (which can be very costly on client side resourses). Where a MapImageLayer (what use to be an ArcGISDynamicMapServiceLayer) is rendered on the server and a image is returned. Having a FeatureLayer allow sublayers would be detrimental to the client browser resources most likely.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 13:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-not-featurelayer-support-sub-layers/m-p/622238#M58120</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-11-29T13:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why does not FeatureLayer support sub layers?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-not-featurelayer-support-sub-layers/m-p/622239#M58121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like Robert said, FeatureLayers reference a single resource. If you want to do something similar to MapImageLayer with FeatureLayer, you might want to look at &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GroupLayer.html"&gt;GroupLayer&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a video about this not too long ago.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.youtube.com/watch?v=eBujoD9cuj0" title="https://www.youtube.com/watch?v=eBujoD9cuj0"&gt;GroupLayers in your ArcGIS JSAPI apps - YouTube&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It let's you group the Layers into a single layer that can be passed around and managed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 22:18:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-not-featurelayer-support-sub-layers/m-p/622239#M58121</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2017-11-30T22:18:50Z</dc:date>
    </item>
  </channel>
</rss>

