Select to view content in your preferred language

Remove cyan color when Flash features

280
5
10-15-2025 08:34 PM
MinhHoangf
Emerging Contributor

I use MapView.FlashFeature(SelectionSet) to flash some features. But when flash, it display a cyan overlay to my feature. How to remove this? Or another way to flash/blink features?

I removed FeatureLayer's SelectionColor of FeatureLayer, set UseSelectionSymbol to false. In SelectionOptions i set SelectionColor to NoColor, set ShowSelectionGraphic to false. But the cyan overlay still display when flash.

Screenshot 2025-10-16 102804.png

0 Kudos
5 Replies
Robert_LeClair
Esri Esteemed Contributor

One of the things I'm seeing in the internals:

In ArcGIS Pro, the MapView.FlashFeature(SelectionSet) method does not allow you to change the flash color directly — it always uses the default ArcGIS Pro flash color (cyan) and duration defined in the application settings.

If you want to change the color of selected features (or the flash effect)...this changes the color for all selections in the project:

Go to Project > Options > Selection.
Under Selection color, choose your desired color, in this case transparent.
Click OK.

0 Kudos
MinhHoangf
Emerging Contributor

Thanks for your answer. But when i change Color in Project>Options>Selection to red, the color of selected feature change to red, but flash color still cyan. So i guess Flash will always use cyan, and not relate to Selection Color.

0 Kudos
Robert_LeClair
Esri Esteemed Contributor

Certainly.  I'll do some more digging in the internals today and see I can find something.  You may want to add an ArcGIS Idea for this item as I do not see one as of yet.  By creating an idea, it will get visibility with the developers.

MinhHoangf
Emerging Contributor

Yes. I'll post it to arcgis idea.

And one more question: does Flash show/hide feature or it only add a colored overlay above the feature?

0 Kudos
Robert_LeClair
Esri Esteemed Contributor

I'm not sure of the inner workings of the Flash show/hide as I work in Training Services rather than the Pro Dev Team.  My guess, and it's only a guess mind you, is that it's a temporary graphic created for the flash instance and then disappears into the ether.  Could be wrong...