<?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: Render MapView.graphics above highlights in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/render-mapview-graphics-above-highlights/m-p/1697613#M88379</link>
    <description>&lt;P&gt;Did you ever find a solution to this?&amp;nbsp; I'm encountering the same behavior, but not able to find a reasonable solution.&amp;nbsp; I've tried using the MapView.graphics collection as well as adding a new GraphicsLayer to the top of the layer stack, but the graphics still render behind the popup highlight.&amp;nbsp; When using the new GraphicsLayer approach, I tried using that layer's highlight method, thinking that its highlights might be rendered in front of the popup's highlight, but no luck.&amp;nbsp; I also tried setting the popup's highlightDisabled to true before rendering the graphics in my GraphicsLayer, but setting highlightDisabled doesn't clear any existing popup highlights.&lt;/P&gt;&lt;P&gt;I suspect the next option would be to disable automatic popup highlighting altogether and implement custom highlighting to gain the control I'm looking for.&amp;nbsp; But, it would be great to avoid that if there's another option.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2026 13:20:56 GMT</pubDate>
    <dc:creator>SparkyT19</dc:creator>
    <dc:date>2026-04-22T13:20:56Z</dc:date>
    <item>
      <title>Render MapView.graphics above highlights</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/render-mapview-graphics-above-highlights/m-p/1621036#M87229</link>
      <description>&lt;P&gt;In my map, I place a marker graphic whenever the user clicks or searches on the map:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;view.graphics.add(markerGraphic)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm rendering the map's popup in a separate area of the DOM:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;view.popup = new Features({
  container: 'popup-container-id',
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when a user clicks on the map and selects a feature, the map marker graphic is drawn underneath the feature highlight graphic:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fdeters_0-1749083598254.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133809i7A7F7B38C9B9BBA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fdeters_0-1749083598254.png" alt="fdeters_0-1749083598254.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way to force the map marker to render on top? For example, setting the default MapView.graphics layer to the top? I could probably hack something together by making highlights and the map marker render in custom GraphicsLayers, but I would prefer something more straightforward.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 00:36:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/render-mapview-graphics-above-highlights/m-p/1621036#M87229</guid>
      <dc:creator>fdeters</dc:creator>
      <dc:date>2025-06-05T00:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Render MapView.graphics above highlights</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/render-mapview-graphics-above-highlights/m-p/1697613#M88379</link>
      <description>&lt;P&gt;Did you ever find a solution to this?&amp;nbsp; I'm encountering the same behavior, but not able to find a reasonable solution.&amp;nbsp; I've tried using the MapView.graphics collection as well as adding a new GraphicsLayer to the top of the layer stack, but the graphics still render behind the popup highlight.&amp;nbsp; When using the new GraphicsLayer approach, I tried using that layer's highlight method, thinking that its highlights might be rendered in front of the popup's highlight, but no luck.&amp;nbsp; I also tried setting the popup's highlightDisabled to true before rendering the graphics in my GraphicsLayer, but setting highlightDisabled doesn't clear any existing popup highlights.&lt;/P&gt;&lt;P&gt;I suspect the next option would be to disable automatic popup highlighting altogether and implement custom highlighting to gain the control I'm looking for.&amp;nbsp; But, it would be great to avoid that if there's another option.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 13:20:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/render-mapview-graphics-above-highlights/m-p/1697613#M88379</guid>
      <dc:creator>SparkyT19</dc:creator>
      <dc:date>2026-04-22T13:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Render MapView.graphics above highlights</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/render-mapview-graphics-above-highlights/m-p/1697637#M88380</link>
      <description>&lt;P&gt;FWIW, in the case of highlighting the features added to the graphics layer, I can gain some control by adjusting the opacity of the highlight options I've defined on the mapView.&amp;nbsp; They're still not in front of the popup highlight, but at least they can be more prominent.&amp;nbsp; But, that still doesn't address your original issue, which I'm also wanting to solve.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 14:42:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/render-mapview-graphics-above-highlights/m-p/1697637#M88380</guid>
      <dc:creator>SparkyT19</dc:creator>
      <dc:date>2026-04-22T14:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Render MapView.graphics above highlights</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/render-mapview-graphics-above-highlights/m-p/1699214#M88395</link>
      <description>&lt;P&gt;I unfortunately still have not found a solution to this. Thankfully in my case it's no longer an issue (the client actually prefers the highlight on top of the marker).&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 23:41:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/render-mapview-graphics-above-highlights/m-p/1699214#M88395</guid>
      <dc:creator>fdeters</dc:creator>
      <dc:date>2026-04-29T23:41:00Z</dc:date>
    </item>
  </channel>
</rss>

