Select to view content in your preferred language

Issues with FeatureReduction and RefreshInterval in ArcGIS JS 4.25

161
2
12-11-2024 04:31 AM
Yoav_Leshem
New Contributor

Hi everyone,

I’m currently working with ArcGIS JS 4.25 on the client side and ArcGIS Server 10.7. We’re using FeatureLayers with FeatureReduction and RefreshInterval. The entities on these layers are connected to our service layers via a database.

We need to use RefreshInterval to fetch the latest data at short intervals, as some of the entities represent moving assets. However, we’re encountering significant issues when FeatureReduction is enabled. Specifically:

  • Each interval, some entities on the layer disappear and then reappear.
  • Clusters keep changing, with the number of items fluctuating, even when the entities’ locations are static.

Has anyone else experienced similar issues or have any suggestions on how to resolve this? Any insights would be greatly appreciated!

Thanks in advance!

 

0 Kudos
2 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

Can you please try with the version 4.31? There were some issues with updating clusters that have since been addressed. Thanks

Yoav_Leshem
New Contributor

Hi UndralBatsukh,

 

Thank you for your suggestion! I updated to version 4.31 as recommended, and it did resolve the issue with the map features and clusters jumping around. I really appreciate the advice!

 

However, after further testing, I've noticed another issue: when a feature is highlighted (e.g., due to a matched search result), the highlight itself still jumps around during the refresh interval. This behavior stops when we disable the refresh interval.

Would you happen to have any suggestions for addressing this new issue?

Thanks again for your help!

0 Kudos