I have a feature layer of a road network. Would it be possible to make an onclick event that could determine length from where the point is clicked to the beginning of the line.
Maybe create a graphic from the beginning of the line to where it was clicked and calculate its length?
I need to take the length and add it to a value from a field to determine its true length.
I cant wrap my head around where to start. Would I have to use vanilla javascipt?