You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Shared/Samples/Add KML layer with network links/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,21 +2,21 @@
2
2
3
3
Display a file with a KML network link, including displaying any network link control messages at launch.
4
4
5
-

5
+

6
6
7
7
## Use case
8
8
9
9
KML files can reference other KML files on the network and support automatically refreshing content. For example, survey workers will benefit from KML data shown on their devices automatically refreshing to show the most up-to-date state. Additionally, discovering KML files linked to the data they are currently viewing provides additional information to make better decisions in the field.
10
10
11
11
## How to use the sample
12
12
13
-
The sample will load the KML file automatically. The data shown should refresh automatically every few seconds. Pan and zoom to explore the map.
13
+
The sample will load the KML file automatically. The data shown should refresh automatically every few seconds. Tap the "Network Link Messages" button to view the messages. Pan and zoom to explore the map.
14
14
15
15
## How it works
16
16
17
-
1. Create a `KmlDataset` from a KML source which has network links.
18
-
2. Construct a `KmlLayer` with the dataset and add the layer as an operational layer.
19
-
3. To listen for network messages, add a `KmlNetworkLinkMessageReceivedListener` on the dataset.
17
+
1. Create a `KMLDataset` from a KML source that has network links.
18
+
2. Construct a `KMLLayer` with the dataset and add the layer to the scene as an operational layer.
19
+
3. To listen for network messages, use the KML dataset's `networkLinkMessages`.
20
20
21
21
## Relevant API
22
22
@@ -26,12 +26,12 @@ The sample will load the KML file automatically. The data shown should refresh a
26
26
27
27
## Offline data
28
28
29
-
This sample uses the radar.kmz file, which can be found on [ArcGIS Online](https://arcgisruntime.maps.arcgis.com/home/item.html?id=600748d4464442288f6db8a4ba27dc95).
29
+
This sample uses the "radar.kmz" file, which can be found on [ArcGIS Online](https://arcgisruntime.maps.arcgis.com/home/item.html?id=600748d4464442288f6db8a4ba27dc95).
30
30
31
31
## About the data
32
32
33
33
This map shows the current air traffic in parts of Europe with heading, altitude, and ground speed. Additionally, noise levels from ground monitoring stations are shown.
34
34
35
35
## Tags
36
36
37
-
Keyhole, KML, KMZ, Network Link, Network Link Control, OGC
37
+
keyhole, KML, KMZ, network link, network link control, OGC
0 commit comments