I have a dynamically aggregated query layer that I created as a map image service in my portal and which is currently being visualized with a timeslider in a webmap: The html is here. The values being rendered in the choropleth map are dynamic and, therefore, respond to the timeslider. When I try to fetch those dynamic values and show them in the popup, however, the values are rendered statically, never responding to the filter applied by the timeslider.
Is there a way to change my code to produce a popup that shows dynamic values?
Thank you for your help.
Brad
first: adding a reference back to my comment in the previous thread for future reference.
https://community.esri.com/t5/arcgis-api-for-javascript-questions/dynamic-aggregation-layer-and-time...
Second,
@BradSkopyk can you pls try this with AGOL or your enterprise Map Viewer and see if the popup respects time slider time values? One way you can confirm this is by looking at the output requests to your map service in the browser's Developers Tools's Network tab. You should see a parameter named time and the value(s) for that parameter must not be nulls.
if that works fine, then we can figure out how to code that part in js api.
Yes, the values in the popups in my webmap are dynamic. Values for 'row_count' change as the timeslider is adjusted. It's exactly the function that I want in my ArcGIS API for Javascript version.
I guess that means we are missing something in the coce.
Please note, in my sample, I didn't include the timeslider code. Just want to make sure when you tried, did you have timeslider code etc. in your app too? can you share your sample code?