Does Runtime 100.0 for .net sdk have feature flash function?

857
3
05-31-2017 07:50 PM
xiaoguangyan
New Contributor III

 I want to flash the features I just query, is there a APi can solve this ? other then is there anyother solution?

thanks

Tags (1)
0 Kudos
3 Replies
dotMorten_esri
Esri Frequent Contributor

There's not really a Flash function, but you could select/unselect a feature a few times with a delay in-between to flash it.

for (int i = 0; i < 5; i++)
{
    layer.SelectFeature(feature);
    await Task.Delay(200);
    layer.UnselectFeature(feature);
    await Task.Delay(200);
}
0 Kudos
xiaoguangyan
New Contributor III

thanks

0 Kudos
AnttiKajanus1
Regular Contributor II

You can also adapt building-controls-for-ArcGISRuntime-dotnet/HighlightOverlay.cs at master · anttikajanus/building-con...  or similar approach to build custom highlighter.

0 Kudos