KmlLinkRefreshMode Enum

Version 1.0.0-beta002
.NET Framework 4.7
Namespace Skybrud.Essentials.Maps.Kml
Assembly Skybrud.Essentials.Maps.dll
Visibility Public
public enum KmlLinkRefreshMode : Enum { }

Fields

Name Value Summary
OnChange 0

Refresh when the file is loaded and whenever the Link parameters change (the default)

OnInterval 1

Refresh every n seconds (specified in KmlLink.RefreshInterval).

OnExpire 2

Refresh the file when the expiration time is reached. If a fetched file has a KmlNetworkLinkControl, the KmlNetworkLinkControl.Expires time takes precedence over expiration times specified in HTTP headers. If no KmlNetworkLinkControl.Expires time is specified, the HTTP max-age header is used (if present). If max-age is not present, the Expires HTTP header is used (if present).