How Can I change the highlight color when highlighting a military symbol?

920
1
Jump to solution
11-18-2016 05:11 AM
DarkRider
New Contributor II

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!

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

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 

View solution in original post

0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

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 

0 Kudos