<?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: Polygon Changes Colour on Mouse Hover in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691895#M22881</link>
    <description>&lt;P&gt;Thank you very much for providing this code, I will try this cautiously (I have very little experience coding&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;)!&lt;/P&gt;</description>
    <pubDate>Mon, 23 Mar 2026 10:38:19 GMT</pubDate>
    <dc:creator>RowanTaylor</dc:creator>
    <dc:date>2026-03-23T10:38:19Z</dc:date>
    <item>
      <title>Polygon Changes Colour on Mouse Hover</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691443#M22858</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've made a map with a layer of building polygons in ArcGIS Online. (This map is being fed through Experience Builder so happy to use either platform for a fix!)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like the colour of a building polygon to change when the mouse hovers over it - I'm able to do this with the button widget in Experience Builder but I can't seem to do the same within the map. Is there a way to do this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(I've accidently put this on the Survey123 board - please ignore it there!)&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 13:14:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691443#M22858</guid>
      <dc:creator>RowanTaylor</dc:creator>
      <dc:date>2026-03-19T13:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon Changes Colour on Mouse Hover</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691486#M22860</link>
      <description>&lt;P&gt;I would enter this in ArcGIS Ideas! I like this idea as well.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 15:28:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691486#M22860</guid>
      <dc:creator>JudithWammack</dc:creator>
      <dc:date>2026-03-19T15:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon Changes Colour on Mouse Hover</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691535#M22864</link>
      <description>&lt;P&gt;It sounds like you want "highlights", which I'm not sure how or if you can add or set up in a web map.&amp;nbsp; On the Map widget in ExperienceBuilder, you&amp;nbsp;&lt;U&gt;can&lt;/U&gt; set the selection highlight color and outline in the Option section, but this would require a mouse click to "select" the feature instead of the hover functionality (and turn off the pop-up).&amp;nbsp; It might be helpful to know the desired workflow, and the value the "hover to highlight" function would provide your users.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/en-us/software-engineering/blog/articles/implementation-of-highlights-in-the-js-sdk-for-javascript" target="_self"&gt;Implementation of feature highlights in the ArcGIS Maps SDK for JavaScript&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 18:22:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691535#M22864</guid>
      <dc:creator>ToddW_stl</dc:creator>
      <dc:date>2026-03-19T18:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon Changes Colour on Mouse Hover</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691542#M22865</link>
      <description>&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/references/core/views/View/#highlights" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/references/core/views/View/#highlights&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The example for the highlight() function is exactly this. You would just need to build a Custom Widget around this code.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Use the default highlights collection to apply a highlight to features when you hover over them

// A handler can be used to remove any previous highlight when applying a new one
let hoverHighlight;

view.on("pointer-move", (event) =&amp;gt; {
  // Search for the first feature in the featureLayer at the hovered location
  view.hitTest(event, { include: featureLayer }).then((response) =&amp;gt; {
    if (response.results[0]) {
       const graphic = response.results[0].graphic;
       view.whenLayerView(graphic.layer).then((layerView) =&amp;gt; {
         // Remove any previous highlight, if it exists
         hoverHighlight?.remove();
         // Highlight the hit features with the temporary highlight options, which are pre-configured for this use case
         hoverHighlight = layerView.highlight(graphic, { name: "temporary"});
       });
    }
  });
});&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 19 Mar 2026 18:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691542#M22865</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2026-03-19T18:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon Changes Colour on Mouse Hover</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691894#M22880</link>
      <description>&lt;P&gt;Thank you - I might settle for the 'select' colour change as coding might be beyond me.&lt;/P&gt;&lt;P&gt;This function would be valuable as we'd like the map to be publicly available and a hover function would quickly show new users which parts of the map are interactive to prevent them wasting time blindly clicking! Thank you for your response!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 10:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691894#M22880</guid>
      <dc:creator>RowanTaylor</dc:creator>
      <dc:date>2026-03-23T10:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon Changes Colour on Mouse Hover</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691895#M22881</link>
      <description>&lt;P&gt;Thank you very much for providing this code, I will try this cautiously (I have very little experience coding&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;)!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 10:38:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691895#M22881</guid>
      <dc:creator>RowanTaylor</dc:creator>
      <dc:date>2026-03-23T10:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon Changes Colour on Mouse Hover</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691970#M22884</link>
      <description>&lt;P&gt;I found this existing idea, if you'd like to add your use case and support/kudo to it!&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-online-ideas/add-mouse-hover-behaviors-on-features/idi-p/1624762" target="_self"&gt;Add mouse hover behaviors on features (ArcGIS Idea)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 16:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1691970#M22884</guid>
      <dc:creator>ToddW_stl</dc:creator>
      <dc:date>2026-03-23T16:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon Changes Colour on Mouse Hover</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1692444#M22910</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2026 09:24:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/polygon-changes-colour-on-mouse-hover/m-p/1692444#M22910</guid>
      <dc:creator>RowanTaylor</dc:creator>
      <dc:date>2026-03-25T09:24:42Z</dc:date>
    </item>
  </channel>
</rss>

