Pages

Friday, May 22, 2009

Tracking the current GPS position by auto refreshing a KML file

<?xml version="1.0" encoding="utf-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
  <NetworkLink>
    <name>GPS</name>
    <flyToView>1</flyToView>
    <Url>
      <href>path/to/auto/update/file.kml</href>
      <refreshMode>onInterval</refreshMode>
      <refreshInterval>2</refreshInterval>
    </Url>
  </NetworkLink>
</kml>

No comments:

Post a Comment