<?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 render feature layer from Feature collection with feature set in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1255#M85</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Ganesh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN&gt;its same set of geometry data of polygon(feature set) to be shown in the map( can it be overlapped?)&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So if I am interpreting this correctly the geometries are identical but have different attributes?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2016 13:58:15 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-12-19T13:58:15Z</dc:date>
    <item>
      <title>How to render feature layer from Feature collection with feature set</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1250#M80</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How to create feature collection object using multiple Featureset (queried from multiple arcgis rest service URL) to render to map (smart map) as feature layer&lt;/P&gt;&lt;P&gt;Need help in layerdefinition to accomplish the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 13:44:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1250#M80</guid>
      <dc:creator>ganeshsrinivasan</dc:creator>
      <dc:date>2016-12-15T13:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to render feature layer from Feature collection with feature set</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1251#M81</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;What have you tried? Have you looked at the FeatureCollection sample?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/fl_featureCollection.html" title="https://developers.arcgis.com/javascript/3/jssamples/fl_featureCollection.html"&gt;Feature collection | ArcGIS API for JavaScript 3.18&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 15:26:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1251#M81</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-12-15T15:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to render feature layer from Feature collection with feature set</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1252#M82</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000; border: 0px; font-weight: inherit; font-size: 15px; margin: 0px; padding: 0px;"&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="3101" data-objecttype="3" href="https://community.esri.com/people/rscheitlin" style="color: #000000; background-color: transparent; border: 0px; font-weight: inherit; font-size: 15px; margin: 0px; padding: 1px 0px 1px calc(12px + 0.35ex);" target="_blank"&gt;Robert Scheitlin&lt;/A&gt;,&lt;/SPAN&gt;
&amp;nbsp;
Thanks for the reply,
objective: Render multiple query task results (Rest API URL output) to the map as a smart map
&amp;nbsp;
We had progress with the help of following code which does
1. Create Two Feature set using Tow different Query Task (Map server)
2.Binding two feature set to Feature collection-We are able to find the expected number of results in feature collection with graphics
3.Create feature layer using feature collection along with info template and also able to add feature layer to the map
Issues
1.As a result we able to visualize &lt;SPAN style="border: 0px; font-weight: inherit; text-decoration: underline; font-size: 15px; margin: 0px; padding: 0px;"&gt;only the first querytask&lt;/SPAN&gt; output on the map, we confirmed this by viewing the pop up. doesn't contain the variables from the second querytask
2.layer rendering to map along with color,extent
Help on
1. Approach
2. why feature layer does't contain both feature set detail(verified number of graphics in feature layer)?
3.provide with any code snippets for the same
&amp;nbsp;
&amp;nbsp;Our Code Snippet&lt;/PRE&gt;&lt;/PRE&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;var queryTask = new QueryTask("&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdemographics6.arcgis.com%2Farcgis%2Frest%2Fservices%2FUSA_Retail_Marketplace_2016%2FMapServer%2F43%2Fquery%3Ftoken%3D" style="color: #1155cc; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://xxxxxxx.arcgis.com/arcgis/rest/services/xxxxxxx/MapServer/xx/query?token=&lt;/A&gt;"+accessTokenForSmartMap);&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;var query = new Query();&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;query.where = "1 &amp;gt; 0";&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;query.outSpatialReference = {wkid:3857};&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;query.returnGeometry = true;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;query.outFields = ["RTSALESTOT","OBJECTID"];&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;promiseCallReturnForRetail = queryTask.execute(query);&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;var queryTask1 = new QueryTask("&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdemographics6.arcgis.com%2Farcgis%2Frest%2Fservices%2FUSA_Demographics_and_Boundaries_2016%2FMapServer%2F21%2Fquery%3Ftoken%3D" style="color: #1155cc; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://xxxxxx.arcgis.com/arcgis/rest/servicesxxxxxxxx/MapServer/xx/query?token=&lt;/A&gt;"+accessTokenForSmartMap);&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;var query1 = new Query();&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;query1.where = "1 &amp;gt; 0";&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;query1.outSpatialReference = {wkid:3857};&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;query1.returnGeometry = true;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;query1.outFields = ["TOTPOP_CY","OBJECTID"];&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;promiseCallReturnForPopulation = queryTask1.execute(query1);&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;promises = all([promiseCallReturnForPopulation,promiseCallReturnForRetail]);&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; promises.then(outputOfTwoLayers);&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;function outputOfTwoLayers(results){&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var allFeatureSet = [];&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; arrayUtils.forEach(results,function(value,key){&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;arrayUtils.forEach(results[key].features,function(value,key){&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;allFeatureSet.push(value);&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;});&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;});&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var featureCollection = {&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "layerDefinition": null,&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "featureSet": {&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;"features" : allFeatureSet,&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;"geometryType": "esriGeometryPolygon"&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; featureCollection.layerDefinition = {&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "geometryType": "esriGeometryPolygon",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "objectIdField": "OBJECTID",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "fields": [{&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;"name": "OBJECTID",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "alias": "OBJECTID",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "esriFieldTypeOID"&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;"name": "TOTPOP_CY",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "alias": "2016 Total Population (Esri)",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "esriFieldTypeInteger"&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;"name": "RTSALESTOT",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "alias": "2016 Total Retail Sales (including Food/Drink Sales)",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "esriFieldTypeDouble"&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;"name": "title",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;"alias": "Title",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;"type": "esriFieldTypeString"&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;&amp;nbsp;}]&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; console.log(featureCollection);&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var featureLayer3 = new FeatureLayer(featureCollection,{&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;showAttribution : true,&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;mode : FeatureLayer.SELECTION_ADD,&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;id : "smartMap",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "infoTemplate": {&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; title:"Smart Map Data",&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; content: "&amp;lt;b&amp;gt;TOTPOP_CY : &amp;lt;/b&amp;gt; ${TOTPOP_CY} &amp;lt;br&amp;gt;&amp;lt;b&amp;gt;RTSALESTOT : &amp;lt;/b&amp;gt; ${RTSALESTOT} &amp;lt;br&amp;gt;"}&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt; &lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;console.log(featureLayer3);&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;console.log(mapObj);&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;var symbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255,255,255,1.0]), 1),new dojo.Color([125,125,125,0.35])); &amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;featureLayer3.setRenderer(new esri.renderer.SimpleRenderer(symbol)); &amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;mapObj.addLayer(featureLayer3);&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt; &lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12.8px; margin: 0px; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:04:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1252#M82</guid>
      <dc:creator>ganeshsrinivasan</dc:creator>
      <dc:date>2021-12-10T20:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to render feature layer from Feature collection with feature set</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1253#M83</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;So you want the geometries and attributes from two different layer queries to be combined into on FeatureLayer? Will the geometries overlap?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 15:59:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1253#M83</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-12-16T15:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to render feature layer from Feature collection with feature set</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1254#M84</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;A _jive_internal="true" data-avatarid="5372" data-externalid="" data-online="false" data-presence="null" data-userid="3101" data-username="rscheitlin" href="https://community.esri.com/people/rscheitlin" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;Robert Scheitlin&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, we need to achieve the concept which you mentioned&lt;/P&gt;&lt;P&gt;we need to use overlay layers to achieve ?its same set of geometry data of polygon(feature set) to be shown in the map( can it be overlapped?)&lt;/P&gt;&lt;P&gt;else how to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 03:48:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1254#M84</guid>
      <dc:creator>ganeshsrinivasan</dc:creator>
      <dc:date>2016-12-19T03:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to render feature layer from Feature collection with feature set</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1255#M85</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Ganesh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN&gt;its same set of geometry data of polygon(feature set) to be shown in the map( can it be overlapped?)&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So if I am interpreting this correctly the geometries are identical but have different attributes?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 13:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1255#M85</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-12-19T13:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to render feature layer from Feature collection with feature set</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1256#M86</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-avatarid="5372" data-externalid="" data-online="false" data-presence="null" data-userid="3101" data-username="rscheitlin" href="https://community.esri.com/people/rscheitlin" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: underline; font-size: 14px;"&gt;Robert &lt;/A&gt;&lt;A _jive_internal="true" data-avatarid="5372" data-externalid="" data-online="false" data-presence="null" data-userid="3101" data-username="rscheitlin" href="https://community.esri.com/people/rscheitlin" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: underline; font-size: 14px;"&gt;Scheitlin&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for response&lt;/P&gt;&lt;P&gt;Your interpretation is correct , can you please provide your inputs on the approach that we are following.&lt;/P&gt;&lt;P&gt;if so our approach is correct, can you please help us out with any help links or code snippets&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 04:54:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1256#M86</guid>
      <dc:creator>ganeshsrinivasan</dc:creator>
      <dc:date>2016-12-20T04:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to render feature layer from Feature collection with feature set</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1257#M87</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Ganesh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; Your scenario is quite unique so I have not done this before or have any samples for you on this subject. The best I can do is provide some general guidance. &amp;nbsp;I would create a FeatureLayer (FL) using the fields combined from both sets of attributes that way you can add both of the results to the one FL. When you click on the feature to get a popup you will get a popup containing a record selector for those geometries that are duplicated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:01:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-render-feature-layer-from-feature/m-p/1257#M87</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-17T18:01:33Z</dc:date>
    </item>
  </channel>
</rss>

