Changeset 8480 in genesis for nodes


Ignore:
Timestamp:
Sep 20, 2010, 8:55:54 PM (14 years ago)
Author:
rick
Message:
  • center shift for east nodes
  • more friendly colours
File:
1 edited

Legend:

Unmodified
Added
Removed
  • nodes/nodemap.html

    r8475 r8480  
    3636      nodeStatusImg.up = 'http://www.google.com/mapfiles/kml/paddle/grn-stars-lv.png';
    3737      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';
    4040     
    4141      function log(message) {
     
    4949     
    5050      function isInterlink(feature) {
     51         if (feature.cluster) {
     52           return(false);
     53         }
    5154         return (feature.attributes.name.indexOf('Interlink') != -1);
    5255      }
     
    179182            externalGraphic: "${icon}",
    180183            pointRadius: "${radius}",
    181             fillOpacity: 1
     184            fillOpacity: 1,
    182185        }, { context : {
    183186                    icon : function(feature) {
     
    201204                        for (var i = 0; i < feature.cluster.length; i++) {
    202205                          var node = feature.cluster[i];
    203                           log(node.attributes.styleUrl);
    204206                        }
    205207                      }
     
    476478          <div id="output"></div>
    477479      </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">
    479495        <ul>
    480496          <li>holding down shift, whilst dragging the mouse to do box zooming</li>
    481497          <li>Keyboard Navigation is enabled</li>
    482498          <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>
    483501        </ul>
    484502<p>Validated by:
     
    489507    <br />
    490508    Version: <em id='version'></em> - <em id='svnVersion'></em>
    491     <p />
     509    <br />
     510    <br />
    492511    <small>
    493512    Written by Rick van der Zwet - &lt;info@rickvanderzwet.nl&gt;<br />
Note: See TracChangeset for help on using the changeset viewer.