AnsweredAssumed Answered

Highlight Line Segment in Feature Layer

Question asked by epd_llc on Dec 7, 2017
Latest reply on May 2, 2018 by lalver1

I have made a simple map that will be inserted into a larger application in the future, which will enable the user to call up a record from a database based on a feature they have selected in he map.


The line segments are a Feature Layer hosted on


I want the color of the line segment to change when it is clicked on, and if another is clicked on for the first line segment to return to the default color.


I feel like this should be a simple process, but everything I have been able to find has been specific to markers or points. I am trying to change the color of a line segment.


I have attached the code I have so far.