Hey All,
I have a map that I am adding a number of layers to dynamically.
These layers are MapImageLayers, GraphicsLayers and FeatureLayers - from either MapServers or FeatureServer.
On the GraphicsLayer, I am displaying things such as the current user location with a simple graphic, as well as other graphics that facilitate user interactions. I want these graphics to be above all other map layers.
I have tried the reorder method as documented here Map | ArcGIS API for JavaScript 4.14
And I can see that when console logging the map object, the layer order is changing, but it is not actually reflected on the map. What am I doing wrong?
Any help would be greatly appreciated.