Skip to content

Commit 55c1e2e

Browse files
committed
Update readme.
1 parent 6aef569 commit 55c1e2e

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

Shared/Samples/Add KML layer with network links/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22

33
Display a file with a KML network link, including displaying any network link control messages at launch.
44

5-
![Image of add KML layer with network links](AddKmlLayerWithNetworkLinks.png)
5+
![Image of Add KML layer with network links sample](add-kml-layer-with-network-links.png)
66

77
## Use case
88

99
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.
1010

1111
## How to use the sample
1212

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.
1414

1515
## How it works
1616

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`.
2020

2121
## Relevant API
2222

@@ -26,12 +26,12 @@ The sample will load the KML file automatically. The data shown should refresh a
2626

2727
## Offline data
2828

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).
3030

3131
## About the data
3232

3333
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.
3434

3535
## Tags
3636

37-
Keyhole, KML, KMZ, Network Link, Network Link Control, OGC
37+
keyhole, KML, KMZ, network link, network link control, OGC

Shared/Samples/Add KML layer with network links/README.metadata.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
"category": "Layers",
33
"description": "Display a file with a KML network link, including displaying any network link control messages at launch.",
44
"ignore": false,
5-
"images": [],
5+
"images": [
6+
"add-kml-layer-with-network-links.png"
7+
],
68
"keywords": [
79
"KML",
810
"KMZ",
9-
"Keyhole",
10-
"Network Link",
11-
"Network Link Control",
1211
"OGC",
12+
"keyhole",
13+
"network link",
14+
"network link control",
1315
"KMLDataset",
1416
"KMLDataset.networkLinkMessages",
1517
"KMLLayer"
234 KB
Loading

0 commit comments

Comments
 (0)