<?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 Lasso / Rectangular Select event from Sketch Widget? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/lasso-rectangular-select-event-from-sketch-widget/m-p/1286344#M81068</link>
    <description>&lt;P&gt;Good Day&lt;BR /&gt;&lt;BR /&gt;I have the Sketch Widget active on my map, and if I use the Draw tools, the "create" event will send a signal, and I can query the features without issue:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;        sketchWidget.on("create", async (event) =&amp;gt; {
          if (event.state === "complete") {
            this._view.graphics.removeAll();
            const geometries= this.sketchLayer.graphics.map((graphic) =&amp;gt; {
              return graphic.geometry
            });
            const queryGeometry = await geometryEngineAsync.union(geometries.toArray());
            this.selectFeatures(queryGeometry);
          }
        });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I use lasso or rectangle select tool, no signal is thrown, that I can find.&amp;nbsp; Oddly enough, if I use the "Select Feature" option, to select a single feature, the click handler on the view works fine.&lt;BR /&gt;&lt;BR /&gt;What should I do, to get signals from the lasso and rectangle selection options?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2023 19:04:38 GMT</pubDate>
    <dc:creator>AndrewMurdoch1</dc:creator>
    <dc:date>2023-05-05T19:04:38Z</dc:date>
    <item>
      <title>Lasso / Rectangular Select event from Sketch Widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/lasso-rectangular-select-event-from-sketch-widget/m-p/1286344#M81068</link>
      <description>&lt;P&gt;Good Day&lt;BR /&gt;&lt;BR /&gt;I have the Sketch Widget active on my map, and if I use the Draw tools, the "create" event will send a signal, and I can query the features without issue:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;        sketchWidget.on("create", async (event) =&amp;gt; {
          if (event.state === "complete") {
            this._view.graphics.removeAll();
            const geometries= this.sketchLayer.graphics.map((graphic) =&amp;gt; {
              return graphic.geometry
            });
            const queryGeometry = await geometryEngineAsync.union(geometries.toArray());
            this.selectFeatures(queryGeometry);
          }
        });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I use lasso or rectangle select tool, no signal is thrown, that I can find.&amp;nbsp; Oddly enough, if I use the "Select Feature" option, to select a single feature, the click handler on the view works fine.&lt;BR /&gt;&lt;BR /&gt;What should I do, to get signals from the lasso and rectangle selection options?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 19:04:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/lasso-rectangular-select-event-from-sketch-widget/m-p/1286344#M81068</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2023-05-05T19:04:38Z</dc:date>
    </item>
  </channel>
</rss>

