AnsweredAssumed Answered

ArcGIS JavaScript 3.24 Heatmap Draws on top of all feature layers.  How to reposition heatmap layer?

Question asked by kjxm25_KCSouthern on Sep 27, 2018

I have a web app that includes a number of graphics layers. I have a feature layer that is rendered as a heatmap. The layer drawing order is correct when the page initially loads but the heatmap draws on top of all other layers once I make a call to map.setBasemap(). The other layers work properly with reorder layer but it seems to have zero effect on the heatmap. I'd be curious to know why the heatmap is drawing on top once a new basemap is selected and how I might go about reordering the drawing order of the heatmap. I'm currently working with version 3.24 of the ESRI JavaScript API.

Outcomes