Hello all,
I'm wondering if there is a way to force a WmsOverlay to pull all of it's tiles again. I have a weather layer on my WMS and it refreshes every five minutes, so I have a time fire every five minutes that is supposed to get the newest version, though I have yet to figure out how. I have tried to create a new WmsOverlay with the same properties and replace the old overlay, but assigning to Map1.Overlays["Weather"] just throws a null object error, for some reason. The code used to make the Overlay is exactly the same as when it's first created, so it shouldn't have anything null the second time through. I have also tried removing the old overlay and adding a new one, but the only thing that seems to happen is the old one gets removed. WmsOverlay.Refresh() and WmsOverlay.Initialize() don't do it either. Is there anything else I might be able to try? Thanks for your help!
-Dustin