Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArcGIS JS API 4.26 StreamLayer Data Gradually Decreases Over Time #30

Open
wrsue opened this issue Jan 17, 2025 · 0 comments
Open

ArcGIS JS API 4.26 StreamLayer Data Gradually Decreases Over Time #30

wrsue opened this issue Jan 17, 2025 · 0 comments

Comments

@wrsue
Copy link

wrsue commented Jan 17, 2025

Using ArcGIS JS API version 4.26 with a StreamLayer, I've observed that the streamed data displayed on the map gradually decreases over time, preventing a stable display of the complete historical dataset. This issue did not occur in version 4.25 and appears specific to version 4.26.

Steps Taken and Attempted Solutions:

objectIdField Configuration:
Ensured that the necessary objectIdField is set according to the requirements of version 4.26.

timeInfo Configuration:
The metadata has been correctly configured for timeInfo as follows:
"timeInfo": {
"trackIdField": "icao24",
"startTimeField": "last_contact",
"endTimeField": null
}
Verified that the fields icao24 and last_contact exist and have the correct data types.

Additional Checks:

Confirmed that geometry information (geometryType, geometryDefinition) is correct.
Checked purgeOptions settings to ensure data is not prematurely cleared.
Examined connection stability and event handling logic (e.g., WebSocket connections, event listeners).
Verified that the server-side data update mechanisms and field structures are intact.
Environment Information:

API Version: 4.26
Issue Onset: Works correctly in 4.25, issue appears in 4.26
Relevant Configurations: objectIdField and timeInfo are set, and time unit conversion has been attempted.
Expected Assistance:

Despite confirming and configuring all the above parameters, the StreamLayer data still gradually decreases over time. I am seeking help or insights on:

Other potential causes for this issue?
Are there any known bugs or behavioral changes in version 4.26 that require additional settings or patches?
Any recommended debugging methods or solutions?
Any assistance or suggestions would be greatly appreciated. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant