Changeset 8480 in genesis for nodes/nodemap.html
- Timestamp:
- Sep 20, 2010, 8:55:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/nodemap.html
r8475 r8480 36 36 nodeStatusImg.up = 'http://www.google.com/mapfiles/kml/paddle/grn-stars-lv.png'; 37 37 nodeStatusImg.down = 'http://www.google.com/mapfiles/kml/paddle/red-stars-lv.png'; 38 nodeStatusImg.planned = 'http://www.google.com/mapfiles/kml/paddle/ wht-stars-lv.png';39 nodeStatusImg.unknown = 'http://www.google.com/mapfiles/kml/paddle/ wht-stars-lv.png';38 nodeStatusImg.planned = 'http://www.google.com/mapfiles/kml/paddle/purple-stars-lv.png'; 39 nodeStatusImg.unknown = 'http://www.google.com/mapfiles/kml/paddle/purple-stars-lv.png'; 40 40 41 41 function log(message) { … … 49 49 50 50 function isInterlink(feature) { 51 if (feature.cluster) { 52 return(false); 53 } 51 54 return (feature.attributes.name.indexOf('Interlink') != -1); 52 55 } … … 179 182 externalGraphic: "${icon}", 180 183 pointRadius: "${radius}", 181 fillOpacity: 1 184 fillOpacity: 1, 182 185 }, { context : { 183 186 icon : function(feature) { … … 201 204 for (var i = 0; i < feature.cluster.length; i++) { 202 205 var node = feature.cluster[i]; 203 log(node.attributes.styleUrl);204 206 } 205 207 } … … 476 478 <div id="output"></div> 477 479 </div> 478 <div id="infoField" style="position: absolute; bottom: 40px; left : 10px; z-index:1004; background-color: red; visibility: hidden"> 480 <div id="legendaField" style="position: absolute; bottom: 00px; left : 70px; z-index:1003; visibility: visible"> 481 <table> 482 <tr><td>Node status</td><td>:</td><td> 483 <span style="color: red">Problem</span> - 484 <span style="color: green">OK</span> - 485 <span style="color: purple">Unknown</span> - 486 <span style="color: grey">Planned</span></td></tr> 487 <tr><td>Link status</td><td>:</td><td> 488 <span style="color: red">Problem</span> - 489 <span style="color: green">OK</span> - 490 <span style="color: purple">Unknown</span> - 491 <span style="color: grey">Planned</span></td></tr> 492 </table> 493 </div> 494 <div id="infoField" style="position: absolute; bottom: 40px; left : 10px; z-index:1004; background-color: white; visibility: hidden"> 479 495 <ul> 480 496 <li>holding down shift, whilst dragging the mouse to do box zooming</li> 481 497 <li>Keyboard Navigation is enabled</li> 482 498 <li>Contrast of background: <a title="decrease opacity" href="javascript: changeOpacity(-0.1);">Decrease</a> or <a title="increase opacity" href="javascript: changeOpacity(0.1);">Increase</a></li> 499 <li>Link capacity get displayed by the thickness of the line</li> 500 <li>Link usage get displayed by the opacity of the line</li> 483 501 </ul> 484 502 <p>Validated by: … … 489 507 <br /> 490 508 Version: <em id='version'></em> - <em id='svnVersion'></em> 491 <p /> 509 <br /> 510 <br /> 492 511 <small> 493 512 Written by Rick van der Zwet - <info@rickvanderzwet.nl><br />
Note:
See TracChangeset
for help on using the changeset viewer.