<?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 Graphics not rendering until zoom in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/graphics-not-rendering-until-zoom/m-p/815179#M5401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I am using ArcGIS API for JavaScript 4.10&lt;/SPAN&gt;&lt;SPAN style="border: 0px;"&gt;&amp;nbsp;and I&lt;SPAN&gt;&amp;nbsp;am adding point graphics to a map view using&amp;nbsp;view.graphics.addMany() and passing in an array of graphics. However, when my map displays, the graphics aren't showing. Clicking on them shows that graphics are present, and that clicking hits them, they are just not visible. They only become visible after I use zoom in or out. This happens in both Chrome and Firefox browsers.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;SPAN&gt;Code that adds graphics:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;var caseGraphics = [];&lt;/P&gt;&lt;P&gt;caseList.forEach(function(oneCase) {&lt;BR /&gt; var point = {&lt;BR /&gt; type: "point",&lt;BR /&gt; longitude: oneCase.Location__Longitude__s,&lt;BR /&gt; latitude: oneCase.Location__Latitude__s&lt;BR /&gt; };&lt;BR /&gt; var pointGraphic = new Graphic({&lt;BR /&gt; geometry: point,&lt;BR /&gt; symbol: createSymbol() &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// symbol is type: "picture-marker"&lt;/P&gt;&lt;P&gt;// popupTemplate also present. removed for brevity&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; caseGraphics.push(pointGraphic);&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;view.graphics.addMany(caseGraphics);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I fix this so that graphics always render correctly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2019 16:54:25 GMT</pubDate>
    <dc:creator>MiroslavMatovic</dc:creator>
    <dc:date>2019-02-15T16:54:25Z</dc:date>
    <item>
      <title>Graphics not rendering until zoom</title>
      <link>https://community.esri.com/t5/developers-questions/graphics-not-rendering-until-zoom/m-p/815179#M5401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I am using ArcGIS API for JavaScript 4.10&lt;/SPAN&gt;&lt;SPAN style="border: 0px;"&gt;&amp;nbsp;and I&lt;SPAN&gt;&amp;nbsp;am adding point graphics to a map view using&amp;nbsp;view.graphics.addMany() and passing in an array of graphics. However, when my map displays, the graphics aren't showing. Clicking on them shows that graphics are present, and that clicking hits them, they are just not visible. They only become visible after I use zoom in or out. This happens in both Chrome and Firefox browsers.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;SPAN&gt;Code that adds graphics:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;var caseGraphics = [];&lt;/P&gt;&lt;P&gt;caseList.forEach(function(oneCase) {&lt;BR /&gt; var point = {&lt;BR /&gt; type: "point",&lt;BR /&gt; longitude: oneCase.Location__Longitude__s,&lt;BR /&gt; latitude: oneCase.Location__Latitude__s&lt;BR /&gt; };&lt;BR /&gt; var pointGraphic = new Graphic({&lt;BR /&gt; geometry: point,&lt;BR /&gt; symbol: createSymbol() &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// symbol is type: "picture-marker"&lt;/P&gt;&lt;P&gt;// popupTemplate also present. removed for brevity&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; caseGraphics.push(pointGraphic);&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;view.graphics.addMany(caseGraphics);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I fix this so that graphics always render correctly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2019 16:54:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/graphics-not-rendering-until-zoom/m-p/815179#M5401</guid>
      <dc:creator>MiroslavMatovic</dc:creator>
      <dc:date>2019-02-15T16:54:25Z</dc:date>
    </item>
  </channel>
</rss>

