Select to view content in your preferred language

wmslayer refresh interval

802
3
04-02-2019 04:50 AM
HenrikVatnar
Emerging Contributor

Hi

I'm trying to get the WmsLayer setRefreshInterval to work. I'm using fiddler to try and see if the wms layer is getting periodically requested. As far as I can see it seems like the it doesn't send requests except for when I'm panning and zooming. The server seems to set the no-cache stuff in the header response.

My sequence is as follows:

1. Create a new WmsLayer

2. Set the refresh interval to approx. 30 seconds

3. Wait for it to finish loading.

4. Add it to basemaps list.

Am I missing something? Any way to debug it? Can I force a reload or something using my own timer?

I'm using arcgis sdk 100.4 and qt 5.12 on Windows 10.

0 Kudos
3 Replies
LucasDanzinger
Esri Frequent Contributor

Are you trying to do this in 3D or 2D? I tested in 2D and it worked ok. We have not yet implemented this functionality to work in 3D.

0 Kudos
HenrikVatnar
Emerging Contributor

Hi

I tried in 3d. Do you know if there is a way to force reload manually?

0 Kudos
LucasDanzinger
Esri Frequent Contributor

100.9 release, which will be released near end of August 2020, will support refresh interval in 3D.

0 Kudos