HttpLayer.ServiceMonitorInterval Property
Starts a background thread that monitors the OGC service for changes.
Syntax
public System.Int32 ServiceMonitorInterval { get; set; }
Property Value
Default: Differs depending on type. See the table below.
The number of seconds the monitor thread sleeps between two checks. If zero the service will not be monitored.
Default values
Class | Default value |
---|---|
OgcApiTilesLayer | Not used. |
OgcWmsLayer | 0 |
OgcWmtsLayer | 0 |
Remarks
When this property is set to a value greater than zero a background thread that continuously will look for changes in an OGC WMTS or an OGC WMS service will be started. The thread will be terminated when the OgcWmsLayer or the OgcWmtsLayer instance is destroyed.
When any change is detected, the layer will fire a ServiceChanged event.
The monitor functionality is currently not supported for OgcApiTilesLayer
Platforms
Windows, Linux, Android