Hi, following code does not remove the Feature from the InternalFeatures of our InMemoryFeatureLayer :
await this.Map.DeHighlightFeature(foundFeatures[0], true);
public async Task DeHighlightFeature(Feature f, bool refresh)
{
this.HighlightLayer.Open();
this.HighlightLayer.InternalFeatures.Remove(f);
this.HighlightLayer.Close();
if (refresh)
await this.RefreshAsync(this.HighlightOverlay);
}
Highlight layer before (and after) removal:
Any idea? I have tried removing the Open / Close of the layer and it does not make a difference. It used to work a few versions back. I have also tried removing it with the key (id), which doesn’t work either.
The ThinkGeo Log does not give any outputs sadly.