< prev | next >

Auto-Refresh < Samples < Home

Auto-Refresh

A map that automatically refreshes its data every 60 seconds.

Full-Page View
<!-- Sample map with a single observation that
     is automatically refreshed every 60 seconds. -->
         
<WxML>
  <map bgcolor="#FFFFCC">
  
    <overlay visible="true">
      <data src="Oklahoma Maps" param="County borders"/>
    </overlay>
    
    <overlay visible="true">
      <data src="Oklahoma Maps" param="State border"/>
      <lineStyle width="3"/>
    </overlay>
    
    <observation>
      <data src="http://www.mesonet.ou.edu/mesonetdata/mdf/
        latest.mdf" param="TAIR" units="fahr" refresh="60"/>
      <textStyle color="#FF0000"/>
    </observation>
    
  </map>
</WxML>
         

Confidential. Copyright © 2002, Oklahoma Climatological Survey. All Rights Reserved.
Send questions or comments concerning this web page to
wolfie@ou.edu.