<?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: Highlight in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight/m-p/1043822#M72350</link>
    <description>&lt;P&gt;Some of the Esri samples strive to show us one thing, but obfuscate what else is happening.&amp;nbsp; In this case, I think the highlighting is done through the MapView class.&amp;nbsp; If you set 'highlightOptions' on load then any click event will use that to highlight the selected graphic.&amp;nbsp; The 'listNode.addEventListener("click", onListClickHandler)' declaration is handling the click event for the right side click, but I think the MapView is by default handling the map click event, which then triggers the MapView update which then uses the current 'highlightOptions' to draw the selection.&amp;nbsp; If you look at the bottom of the Mapview class it specifies inherited events.&amp;nbsp; You can attach to these to get access to the click (and the selected graphics) if needed, but if you just want to modify how the highlight looks then I would look at the 'highlightOptions'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Apr 2021 15:56:44 GMT</pubDate>
    <dc:creator>JeffreyWilkerson</dc:creator>
    <dc:date>2021-04-05T15:56:44Z</dc:date>
    <item>
      <title>Highlight</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight/m-p/1043611#M72347</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In this example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=featurelayerview-query" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=featurelayerview-query&lt;/A&gt;&lt;/P&gt;&lt;P&gt;we can select the entities directly by click, or via the menu on the right, everything works fine, but what I do not understand there is no mention in the code of "highlight", how to explain that !?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Apr 2021 22:05:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight/m-p/1043611#M72347</guid>
      <dc:creator>Med-Karim-Rouissi</dc:creator>
      <dc:date>2021-04-03T22:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight/m-p/1043822#M72350</link>
      <description>&lt;P&gt;Some of the Esri samples strive to show us one thing, but obfuscate what else is happening.&amp;nbsp; In this case, I think the highlighting is done through the MapView class.&amp;nbsp; If you set 'highlightOptions' on load then any click event will use that to highlight the selected graphic.&amp;nbsp; The 'listNode.addEventListener("click", onListClickHandler)' declaration is handling the click event for the right side click, but I think the MapView is by default handling the map click event, which then triggers the MapView update which then uses the current 'highlightOptions' to draw the selection.&amp;nbsp; If you look at the bottom of the Mapview class it specifies inherited events.&amp;nbsp; You can attach to these to get access to the click (and the selected graphics) if needed, but if you just want to modify how the highlight looks then I would look at the 'highlightOptions'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 15:56:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight/m-p/1043822#M72350</guid>
      <dc:creator>JeffreyWilkerson</dc:creator>
      <dc:date>2021-04-05T15:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight/m-p/1043825#M72351</link>
      <description>&lt;P&gt;I think the feature is highlighted like that by default when the popup is opened. See here for &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/" target="_self"&gt;another example&lt;/A&gt;. If you wanted to highlight the feature without a popup in the way, you would have to &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-feature-sidepanel/" target="_self"&gt;do that manually&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 16:05:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight/m-p/1043825#M72351</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2021-04-05T16:05:16Z</dc:date>
    </item>
  </channel>
</rss>

