ArcGIS Runtime SDK for macOS

Display KML network links

Description

KML files can reference other KML files on the network and refresh content automatically. This sample demonstrates how to display a file with a network link as well as display any network link control messages.

Display KML network links

How it works

The sample loads the KML file automatically and refreshes the data every few seconds. In general, no special code is needed to support showing KML/KMZ files with network links. KML supports specifying a message to show the user when loading a network link. Apps can optionally add a networkLinkMessageHandler on the AGSKMLDataset object to show any messages from KML network link controls.


In this topic
  1. Description