<?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: How to query graphics from multiple layers on hover rather than click? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-query-graphics-from-multiple-layers-on/m-p/1382831#M83650</link>
    <description>&lt;P&gt;The Feature widget only supports a single graphic, if you want multiple graphics, you can use the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-features/" target="_blank" rel="noopener"&gt;Features widget&lt;/A&gt;, however I'm not sure about the UX of having multiple graphics populate it on hover, as when you navigate to the Features UI, it will probably change the graphics before your mouse gets there. pointer-move is the right event you are looking for, and that side panel example is on the right track, just wrong widget.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 15:07:16 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2024-02-15T15:07:16Z</dc:date>
    <item>
      <title>How to query graphics from multiple layers on hover rather than click?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-query-graphics-from-multiple-layers-on/m-p/1382768#M83649</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I'm still trying to get my head around hitTests and hover functionality.&lt;/P&gt;&lt;P&gt;I've been playing around with the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-feature-multiplelayers/" target="_self"&gt;Feature widget - Query graphics from multiple layers&lt;/A&gt; example and wanted to figure out how to have it so that features are queried on hover, rather than click.&lt;/P&gt;&lt;P&gt;However, when I changed the &lt;SPAN&gt;reactiveUtils&lt;/SPAN&gt; to "pointer-move", instances of the same popuptemplate keep generating. Is it right that a debounce() function would be necessary to prevent duplicate popups? Such as in the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-feature-sidepanel/" target="_self"&gt;Feature widget in a side panel&lt;/A&gt; example.&lt;/P&gt;&lt;P&gt;Just a bit lost as to how to implement this. Any guidance would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 12:30:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-query-graphics-from-multiple-layers-on/m-p/1382768#M83649</guid>
      <dc:creator>EmilyGoldsmith</dc:creator>
      <dc:date>2024-02-15T12:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to query graphics from multiple layers on hover rather than click?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-query-graphics-from-multiple-layers-on/m-p/1382831#M83650</link>
      <description>&lt;P&gt;The Feature widget only supports a single graphic, if you want multiple graphics, you can use the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-features/" target="_blank" rel="noopener"&gt;Features widget&lt;/A&gt;, however I'm not sure about the UX of having multiple graphics populate it on hover, as when you navigate to the Features UI, it will probably change the graphics before your mouse gets there. pointer-move is the right event you are looking for, and that side panel example is on the right track, just wrong widget.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 15:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-query-graphics-from-multiple-layers-on/m-p/1382831#M83650</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2024-02-15T15:07:16Z</dc:date>
    </item>
  </channel>
</rss>

