The default highlight color is purple. In a graphicLayer there is the possibility to change the selection color by calling setSelectionColor(). But how can I achieve this when dealing with military symbols? There I use a GroupLayer and I have the messageProcessor. You can create a selectMessage via the MessageHelper class and create a selection message of specific symbol, but I did not find a possibility to change the highlighting color.
Is it possible to change it?
Any help is appreciated!
Solved! Go to Solution.
The answer here should help explain a bit, but the message group layer contains several graphics layers (one for each geometry type), so once initialized, you can access each graphics layer and change the selection color for each https://community.esri.com/thread/181184
The answer here should help explain a bit, but the message group layer contains several graphics layers (one for each geometry type), so once initialized, you can access each graphics layer and change the selection color for each https://community.esri.com/thread/181184