NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/tracks/trunk/tracks/kml_href_array.js

Revision 82 (checked in by haines, 12 years ago)

Initial commit

Line 
1 //<!--
2
3 var kmlUrl = 'http://dockserver.marine.unc.edu/realtime/tracks/';
4
5 // store the object loaded for the given name ... initially none of the objects
6 // are loaded, so initialize these to null
7 var currentKmlObjects = {
8         'ramses': null,
9         'pelagia': null,
10         'hfrhr': null,
11         'hfr25hr': null,
12         'ndbc': null
13 };
14
15 //KML ARRAY (based on array example at http://www.cec.org/atlas/ge/)
16 // 0: layer name (text) matches currentKmlObjects
17 // 1: url (text)       
18 var kmlArray = {
19         'ramses': Array('ramses', kmlUrl+'ramses_track.kml'),
20         'pelagia': Array('pelagia', kmlUrl+'pelagia_track.kml'),
21         'hfrhr': Array('hfrhr', 'http://hfrnet.ucsd.edu/rtv/networkKml.php?res=6km&pfx=h&rng=0,50&bbox=34,34,-82,-82'),
22         'hfr25hr': Array('hfr25hr', 'http://hfrnet.ucsd.edu/rtv/networkKml.php?res=6km&pfx=a&rng=0,50&bbox=34,34,-82,-82'),
23         'ndbc': Array('ndbc','http://www.ndbc.noaa.gov/kml/marineobs_by_pgm.kml')
24 };
25        
26 //-->
Note: See TracBrowser for help on using the browser.