I have a WPF application and it has a simple feature service along with a Unique values renderer.
Some of my features have the same polygon shape or they may overlay other features and I would like to bring a specific feature to the top of the drawing order so it will be visible.
I am using my FeatureLayer.FeatureTable.QueryFeaturesAsync(queryParams) to get the actual feature I want.
But I do not know how to change the drawing order of the feature so that it will be on top.
This is my basic code to find the feature and select it.
var featureResult = await this.ProjectLayer.FeatureTable!.QueryFeaturesAsync(queryParams);
if (featureResult.FirstOrDefault() != null)
{
this.ProjectLayer.SelectFeature(featureResult.FirstOrDefault()!);
}
But how do I change the drawing order?