AnsweredAssumed Answered

Problem adding graphics layer

Question asked by brandon.price on Jan 18, 2018
Latest reply on Jan 19, 2018 by rscheitlin

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

 

Web Developers

Web GIS

Outcomes