Last active
February 21, 2016 05:00
-
-
Save wulfgarpro/ef2476798d665cebf65e to your computer and use it in GitHub Desktop.
Example kml to load cgi script using NetworkLink with flyToView/refreshInterval enabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2"> | |
<Folder> | |
<name>Network Links</name> | |
<visibility>0</visibility> | |
<open>0</open> | |
<description>Network link example 1</description> | |
<NetworkLink> | |
<name>Random Placemark</name> | |
<visibility>0</visibility> | |
<open>0</open> | |
<description>A simple server-side script that generates a new random | |
placemark on each call</description> | |
<refreshVisibility>0</refreshVisibility> | |
<flyToView>1</flyToView> | |
<Link> | |
<href>http://localhost/cgi-bin/generate.py</href> | |
<refreshInterval>2</refreshInterval> | |
<viewRefreshMode>onStop</viewRefreshMode> | |
<viewRefreshTime>1</viewRefreshTime> | |
</Link> | |
</NetworkLink> | |
</Folder> | |
</kml> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment