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.
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.
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.
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.
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?
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...