I am moving over from leaflet to Esri and having an issue with a couple of things. Here is the result of my current attempt to place data on the map.
The issue is the polylines are above the markers. I have used the reorder function correctly for my Corelogic parcel layer but I am still trying to understand how It will apply here when the polylines are in the view instead of the map. I have an array I looping through to display the individual trips. Each node contains data for the polyline, start and finish points and collection of points (0-N).