Kwon-Taeho / kml-samples

Automatically exported from code.google.com/p/kml-samples
0 stars 0 forks source link

Network link refreshes without delay Options #189

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If Network link has no content, then it will refresh intantly upon any 
screen movement. 

Steps to recreate 
1) viewRefreshMode is onStop 
2) viewRefreshTime is 5 seconds (probably any amount is fine) 
3) the Documents section contains no Folders, Placemarks, ScreenOverlays, 
ect. 

Network link will refresh instantly 
1) if the globe is moved 
2) if the Google Earth window is resized 
3) if the border just to the right of Fly To, Places, Layers is dragged 
right or left 

Using Google Earth version 4.3.7284.3916 (beta) 
OS is Vista
KML produced by asp.net on IIS7

Sample KML 
------------------ 
This sample is programmed to send or not send content based upon the 
user's altitude.  If the user is less than 20km, no content is sent, 
and subsequent refreshes are instantaneous. 
if the user is more than 20km, a placemark is sent, and subsequent 
refreshes are delayed five seconds. 

<?xml version="1.0" encoding="UTF-8"?> 
<kml xmlns="http://earth.google.com/kml/2.2"> 
  <NetworkLink> 
    <name>Refresh is instant.</name> 
    <description>Link has no content. Zoom out farther than 20km for 
delayed refresh. Range: 10.71 is &amp;lt; 20km.</description> 
    <refreshVisibility>1</refreshVisibility> 
    <Url> 
      <href>http://www.earthpoint.us/Default.aspx? 
RequestID=125111x1496328&amp;</href> 
      <viewRefreshMode>onStop</viewRefreshMode> 
      <viewRefreshTime>5</viewRefreshTime> 
      <viewFormat>BBOX=[bboxWest],[bboxSouth],[bboxEast],[bboxNorth], 
[lookatLon],[lookatLat],[lookatRange],[lookatTilt],[lookatHeading]</ 
viewFormat> 
      </Url> 
  </NetworkLink> 
</kml> 

Original issue reported on code.google.com by bill.cl...@earthpoint.us on 6 Sep 2008 at 12:14

GoogleCodeExporter commented 9 years ago

Original comment by api.roman.public@gmail.com on 2 Dec 2008 at 10:39