amithpdn / kml-samples

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

Refreshmode and viewrefreshmode not working to refresh map after pan #325

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which products are affected?

GoogleEarth
What steps will reproduce the problem?
1.
2.
3.

What is the expected output or behavior? What do you see instead?

When map panning, refresh layer.
What application versions (if any) are you using?
GoogleEarth Pro 5.0.11733.9347

Which operating systems (and/or relevant web browsers) are affected?

Windows XP
Please provide any additional information (code snippets/links) below.

The layer loads properly at the specified viewing resolution. If you pan 
to a location that was not in the original view the layer does not 
automatically refresh. If you right click on the layer and manually 
refresh the layer it will draw the features. I would like this to occur 
automatically without having to manually redraw the layer. Below is the 
code snippet that is being used.

NetworkLink>
    <Region id="Sector1">
       <LatLonAltBox>
          <north>50</north>
          <south>16</south>
          <east>-64</east>
          <west>-126</west>
          <minAltitude>0</minAltitude>
      <maxAltitude>0</maxAltitude>
      <altitudeMode>clampToGround</altitudeMode>
       </LatLonAltBox>
       <Lod>
         <minLodPixels>1000</minLodPixels>             
         <maxLodPixels>3000</maxLodPixels>
         <minFadeExtent>0</minFadeExtent>
     <maxFadeExtent>0</maxFadeExtent>
       </Lod>
    </Region>
    <Link>

<href>http://10.159.19.111/ArcGIS/services/OBPServices/Administrative_Bound
aries/MapServer/KmlServer?Composite=false&amp;LayerIDs=6</href>
      <refreshMode>onChange</refreshMode>
      <refreshInterval>4</refreshInterval>
      <viewRefreshMode>onStop</viewRefreshMode>
      <viewRefreshTime>2</viewRefreshTime>
      <viewBoundScale>1</viewBoundScale>
    </Link>
  </NetworkLink>

Original issue reported on code.google.com by tim.wall...@cbp.dhs.gov on 18 Dec 2009 at 5:48