Noticed that popupTemplate has a cancellation of roughly 5 seconds.
This sample code will not work for those w/ slower internet connections.
To reproduce
- Ensure sluggish connection. If not, (Done in chrome, open up the console and go to the network tab. ) enable throttling by adding a custom profile. 1bkit/s 250 ms
- Click on a state on the UI.
- On the network tab, see that the endpoint that looks like this "https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/dynamicLayer/query" takes over 5 seconds
- Observe cancellation.
Although a response time of over 5 seconds is not optimal, it is important that we are able to configure the default popuptemplate's timeout. I have attempted to up the esri/config's timeout object that that did not do the trick. We need to ensure the default popuptemplate works with slower connections.
https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=layers-dynamicdatalayer-table-join
