Hello,
I am querying attribute table values of a highway layer to return the geometry for sections of the highway. The user searches for the section of the highway they want in a dropdown menu and click a run button. When the run button is clicked, the graphics layer added doesn't not show up in the right location. Maybe it the spatial reference?
This is the code for the spatial reference:
let postMileMarkerPolyline = new Polyline({
paths: finalPaths,
spatialReference: app.map.spatialReference
});
app.map has a wkid of 102100 and the layer that I am using to show graphics has a wkid of 102645. Not sure if this matters.
Thanks,
Brandon
https://community.esri.com/community/developers/web-developers?sr=search&searchId=8098f230-4728-4d14-b341-cd447f2d17de&searchIndex=2
https://community.esri.com/community/gis/web-gis?sr=search&searchId=8098f230-4728-4d14-b341-cd447f2d17de&searchIndex=3