GUI -- Removed dead code from topo view.
Change-Id: I9bb7c856a13cc7bdb9e39f6f6c896bfb434658a7
Showing
1 changed file
with
2 additions
and
19 deletions
| ... | @@ -121,6 +121,8 @@ | ... | @@ -121,6 +121,8 @@ |
| 121 | 121 | ||
| 122 | } else { | 122 | } else { |
| 123 | // TODO: set hover mode to hoverModeNone | 123 | // TODO: set hover mode to hoverModeNone |
| 124 | + // talk to Thomas about this: shouldn't it be done | ||
| 125 | + // when we deselect the node (if tss.haveDetails()...) | ||
| 124 | } | 126 | } |
| 125 | } | 127 | } |
| 126 | 128 | ||
| ... | @@ -191,27 +193,8 @@ | ... | @@ -191,27 +193,8 @@ |
| 191 | sus.visible(noDevsLayer, b); | 193 | sus.visible(noDevsLayer, b); |
| 192 | } | 194 | } |
| 193 | 195 | ||
| 194 | - function showCallibrationPoints() { | ||
| 195 | - // temp code for calibration | ||
| 196 | - var points = [ | ||
| 197 | - [0, 0], [0, 1000], [1000, 0], [1000, 1000] | ||
| 198 | - ]; | ||
| 199 | - mapG.selectAll('circle') | ||
| 200 | - .data(points) | ||
| 201 | - .enter() | ||
| 202 | - .append('circle') | ||
| 203 | - .attr('cx', function (d) { return d[0]; }) | ||
| 204 | - .attr('cy', function (d) { return d[1]; }) | ||
| 205 | - .attr('r', 5) | ||
| 206 | - .style('fill', 'red'); | ||
| 207 | - } | ||
| 208 | - | ||
| 209 | function setUpMap() { | 196 | function setUpMap() { |
| 210 | mapG = zoomLayer.append('g').attr('id', 'topo-map'); | 197 | mapG = zoomLayer.append('g').attr('id', 'topo-map'); |
| 211 | - | ||
| 212 | - //showCallibrationPoints(); | ||
| 213 | - //return ms.loadMapInto(map, '*continental_us', {mapFillScale:0.5}); | ||
| 214 | - | ||
| 215 | // returns a promise for the projection... | 198 | // returns a promise for the projection... |
| 216 | return ms.loadMapInto(mapG, '*continental_us'); | 199 | return ms.loadMapInto(mapG, '*continental_us'); |
| 217 | } | 200 | } | ... | ... |
-
Please register or login to post a comment