Select to view content in your preferred language

different highlight option for specific features

158
1
07-22-2024 05:33 AM
Haider13189
New Contributor

i have created 2 different widget and there widget could select some feature from feature layer. i need to distinguish which feature is selected from which widget but because they are from same feature class so i get same selected feature object highlight for all the features .

my idea could be while calling highlight i could pass the highlight options and only feature  i sent should be highlight with highlight option others as before or default.

if there is option to do this with current SDK please let me know how to do that.

0 Kudos
1 Reply
UndralBatsukh
Esri Regular Contributor

 Hi there, 

This cannot be done at this time. But we will be adding options to highlight features with different colors within the same layer. In meantime, you can add the selected graphics to different graphics layers.