<?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 Adding Multiple Graphics to view.graphics Causes Incorrect Rendering in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-graphics-to-view-graphics-causes/m-p/1101759#M74781</link>
    <description>&lt;P&gt;When I use view.graphics.add to add multiple point, line, and polygon graphics to the map, the polygons/polylines cause each other's displayed shapes/paths to get clipped off when rendering.&lt;/P&gt;&lt;P&gt;Zooming in and causes a successful re-rendering but that's not a great solution for every time a user accesses or changes a feature.&lt;/P&gt;&lt;P&gt;How can I make all of the graphics render correctly without adjusting the zoom?&lt;/P&gt;&lt;P&gt;I've attached screen shots of:&lt;BR /&gt;A polygon drawn with SketchViewModel before saving which is a black outline.&lt;/P&gt;&lt;P&gt;The same polygon rendered as a graphic added to view.graphics which is filled in with orange.&lt;/P&gt;&lt;P&gt;A polyline drawn with SketchViewModel after creating the polygon before saving which is a black polyline.&lt;/P&gt;&lt;P&gt;The rendering of both the polygon and polyline in orange where most of the polyline is not visible.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Sep 2021 18:11:37 GMT</pubDate>
    <dc:creator>AlexCopli</dc:creator>
    <dc:date>2021-09-24T18:11:37Z</dc:date>
    <item>
      <title>Adding Multiple Graphics to view.graphics Causes Incorrect Rendering</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-graphics-to-view-graphics-causes/m-p/1101759#M74781</link>
      <description>&lt;P&gt;When I use view.graphics.add to add multiple point, line, and polygon graphics to the map, the polygons/polylines cause each other's displayed shapes/paths to get clipped off when rendering.&lt;/P&gt;&lt;P&gt;Zooming in and causes a successful re-rendering but that's not a great solution for every time a user accesses or changes a feature.&lt;/P&gt;&lt;P&gt;How can I make all of the graphics render correctly without adjusting the zoom?&lt;/P&gt;&lt;P&gt;I've attached screen shots of:&lt;BR /&gt;A polygon drawn with SketchViewModel before saving which is a black outline.&lt;/P&gt;&lt;P&gt;The same polygon rendered as a graphic added to view.graphics which is filled in with orange.&lt;/P&gt;&lt;P&gt;A polyline drawn with SketchViewModel after creating the polygon before saving which is a black polyline.&lt;/P&gt;&lt;P&gt;The rendering of both the polygon and polyline in orange where most of the polyline is not visible.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 18:11:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-graphics-to-view-graphics-causes/m-p/1101759#M74781</guid>
      <dc:creator>AlexCopli</dc:creator>
      <dc:date>2021-09-24T18:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Multiple Graphics to view.graphics Causes Incorrect Rendering</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-graphics-to-view-graphics-causes/m-p/1102220#M74803</link>
      <description>&lt;P&gt;Thanks for posting your question here&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/523172"&gt;@AlexCopli&lt;/a&gt;. Can you share a simplified reproducible test app that demonstrates this behavior? I'd like to see how you are doing this.&lt;/P&gt;&lt;P&gt;We have what I think is a similar sample to what you are trying to accomplish, and it seems to work:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=intro-graphics" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=intro-graphics&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 17:42:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-graphics-to-view-graphics-causes/m-p/1102220#M74803</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-09-27T17:42:02Z</dc:date>
    </item>
  </channel>
</rss>

