1. We add three custom styles to an InMemoryFeatureLayer to draw different features. 2. We use a timer to refresh the InMemoryFeatureLayer. 3. In the refresh function, firstly we clear all the features on the InMemoryFeatureLayer, then we add new features on it.
The exception will appeared affter running a period of time.
1. We add three custom styles to an InMemoryFeatureLayer to draw different features. 2. We use a timer to refresh the InMemoryFeatureLayer. 3. In the refresh function, firstly we clear all the features on the InMemoryFeatureLayer, then we add new features on it.
The exception will appeared running for a period of time.
Thanks for your further information, we have tried to recreate the problem but the problem still didn’t show up, attached is our sample code, would you please check it and tell us if we missed anything?