<?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: Find what Polygons are Selected in the Web View in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-what-polygons-are-selected-in-the-web-view/m-p/1220488#M78944</link>
    <description>&lt;P&gt;Hey there,&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;You can listen to Sketch widget's &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#event-update" target="_self"&gt;update event&lt;/A&gt;&amp;nbsp; and its payload returns array of selected graphics.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;sketch.on("update", (event)=&amp;gt;{
  console.log("selected graphics for update", event.graphics);
});&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 10 Oct 2022 19:37:15 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2022-10-10T19:37:15Z</dc:date>
    <item>
      <title>Find what Polygons are Selected in the Web View</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-what-polygons-are-selected-in-the-web-view/m-p/1220261#M78942</link>
      <description>&lt;P&gt;This sandbox shows you how to draw polygons:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=sketch-geometries" target="_blank"&gt;Sandbox | Sample Code | ArcGIS API for JavaScript 4.24 | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, I can shift click them to select them.&amp;nbsp; Here I have selected 2 out of the 3.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaulAnderson2k_0-1665389044662.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/53199iE4FAA5CD5B23D686/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaulAnderson2k_0-1665389044662.png" alt="PaulAnderson2k_0-1665389044662.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to find out what polygons you have selected?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 08:07:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-what-polygons-are-selected-in-the-web-view/m-p/1220261#M78942</guid>
      <dc:creator>PaulAnderson2k</dc:creator>
      <dc:date>2022-10-10T08:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Find what Polygons are Selected in the Web View</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-what-polygons-are-selected-in-the-web-view/m-p/1220488#M78944</link>
      <description>&lt;P&gt;Hey there,&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;You can listen to Sketch widget's &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#event-update" target="_self"&gt;update event&lt;/A&gt;&amp;nbsp; and its payload returns array of selected graphics.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;sketch.on("update", (event)=&amp;gt;{
  console.log("selected graphics for update", event.graphics);
});&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 10 Oct 2022 19:37:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-what-polygons-are-selected-in-the-web-view/m-p/1220488#M78944</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2022-10-10T19:37:15Z</dc:date>
    </item>
  </channel>
</rss>

