Enums.KmlRefreshMode enumeration

Defines the time-based refresh behavior of a KmlNetworkLink.

KmlRefreshMode can be one of:

ConstantDescription
Enums.KmlRefreshModeOnChange(0) Refresh when the file is loaded and whenever the Link parameters change.
Enums.KmlRefreshModeOnExpire(2) Refresh every n milliseconds. Note, if refreshInterval is 0 when the mode is set to Enums.KmlRefreshModeOnInterval, it will automatically update the refreshInterval to 4000 milliseconds.
Enums.KmlRefreshModeOnInterval(1) Refresh the file when the expiration time is reached. If a fetched file has a KmlNetworkLink, the expires time takes precedence over expiration times specified in HTTP headers. If no 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. Currently this is treated the same as if the mode were Enums.KmlRefreshModeOnChange.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close