<?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 Receiving an error when setting an array of graphics to a graphics layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/receiving-an-error-when-setting-an-array-of/m-p/713695#M66319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like some assistance regarding to the the 4.4 API that you guys have. My current issue right now is that I am receiving an&amp;nbsp;error from the API's code when I try to set an array of graphics to an already initialized graphics layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More specifically, this is the error I am getting:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/391911_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for clarification the length of the array that I am setting to the graphics layer is about 88000, however, I am expecting to test against data larger than that.&amp;nbsp;I can't do that though if I am running into this error when testing against this much data.&lt;BR /&gt;&lt;BR /&gt;So, I was wondering if someone had any resolution to this issue? Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jan 2018 22:14:46 GMT</pubDate>
    <dc:creator>MikeDominado1</dc:creator>
    <dc:date>2018-01-02T22:14:46Z</dc:date>
    <item>
      <title>Receiving an error when setting an array of graphics to a graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/receiving-an-error-when-setting-an-array-of/m-p/713695#M66319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like some assistance regarding to the the 4.4 API that you guys have. My current issue right now is that I am receiving an&amp;nbsp;error from the API's code when I try to set an array of graphics to an already initialized graphics layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More specifically, this is the error I am getting:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/391911_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for clarification the length of the array that I am setting to the graphics layer is about 88000, however, I am expecting to test against data larger than that.&amp;nbsp;I can't do that though if I am running into this error when testing against this much data.&lt;BR /&gt;&lt;BR /&gt;So, I was wondering if someone had any resolution to this issue? Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 22:14:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/receiving-an-error-when-setting-an-array-of/m-p/713695#M66319</guid>
      <dc:creator>MikeDominado1</dc:creator>
      <dc:date>2018-01-02T22:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving an error when setting an array of graphics to a graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/receiving-an-error-when-setting-an-array-of/m-p/713696#M66320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think u are doing something wrong on handling the array of graphics that made the computer's memory hits the call stack limit so&amp;nbsp;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;the browser hardcoded stack size or memory exhaustion.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 15:37:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/receiving-an-error-when-setting-an-array-of/m-p/713696#M66320</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2018-01-05T15:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving an error when setting an array of graphics to a graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/receiving-an-error-when-setting-an-array-of/m-p/713697#M66321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Evelyn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That does make sense somewhat, but this error happens after I&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Process geometries from an arcgis rest api call&lt;/P&gt;&lt;P&gt;2. Use those returned geometries to make an array of graphics&lt;/P&gt;&lt;P&gt;3. And then set that array of graphics to the graphics layer.&lt;BR /&gt;&lt;BR /&gt;Also, I am not getting this error when the array length is not so huge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 16:11:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/receiving-an-error-when-setting-an-array-of/m-p/713697#M66321</guid>
      <dc:creator>MikeDominado1</dc:creator>
      <dc:date>2018-01-05T16:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving an error when setting an array of graphics to a graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/receiving-an-error-when-setting-an-array-of/m-p/713698#M66322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Evelyn,&lt;BR /&gt;&lt;BR /&gt;Would you mind taking a look at my code to see what I did wrong?&lt;BR /&gt;&lt;BR /&gt;Here are the steps I am taking to initialize the array of graphics to the graphics layer.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Process geometries from an arcgis rest api call&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/392231_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2.&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Use those returned geometries to make an array of graphics&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/392232_pastedImage_4.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;And then set that array of graphics to the graphics layer&lt;BR /&gt;&lt;/SPAN&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/392233_pastedImage_5.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this last section just to be clear, I am using the shapesAllSymbol array (array of geometries that I processed into graphics) and pushed each graphics into the allGraphics array and then set the allGraphics array to the graphics layer that is already initialized.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 16:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/receiving-an-error-when-setting-an-array-of/m-p/713698#M66322</guid>
      <dc:creator>MikeDominado1</dc:creator>
      <dc:date>2018-01-05T16:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving an error when setting an array of graphics to a graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/receiving-an-error-when-setting-an-array-of/m-p/713699#M66323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me see if i understood. U are getting a data response that contains features from ur rest service?. In that case, why u are making a new array to pass it to the graphicslayer?&lt;/P&gt;&lt;P&gt;and also, which one is the purpose to use a graphicslayer?&amp;nbsp;&lt;BR /&gt;If u wanna show data, make a ur desired query with something to filter the results (like definitionExpression or so).&lt;/P&gt;&lt;P&gt;Im not too familiar with the new api 4.x, but i have done a lot of complex queries on rest services with a lot of data, so to me its kinda weird that u have the "stack" problem with a variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 20:59:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/receiving-an-error-when-setting-an-array-of/m-p/713699#M66323</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2018-01-09T20:59:14Z</dc:date>
    </item>
  </channel>
</rss>

