Hi,
I was using route sample of ArcGIS JavaScript 4.x
https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=route
In this example, we can see the route layer with route stops but when we zoom out the route layer overlaps on the route stop.
Is there a way we can stop this overlap, or we can hide the route layer behind the route stop?
Thanks
Aditya Kumar
Solved! Go to Solution.
I managed to fix it by changing routeLayer.add(stop); to mapView.graphics.add(stop);
after that the route layer is not coming on top of route stop.
I managed to fix it by changing routeLayer.add(stop); to mapView.graphics.add(stop);
after that the route layer is not coming on top of route stop.