Hello,
We have build an application that uses a couple of featureCollectionLayers (around 15)
In those featureCollectionLayers we have features (around 1000 in total).
We want to be able to show/hide those feature individually. currently we set an DefinitionExpression on each featureLayer in a FeatureCollection layer.
Although this work, this is very slow....
How can we show.hide single features and still have an responsive map ?
Using C#, latest .net SDK
Cheers
Have you tried DisplayFilters? The Definition Expression determines what's obtained from the data source, so if you change that it will make a new request (hence the delay). Display Filters just work with the data in hand. Sounds like you want to use a ManualDisplayFilterDefinition.