()
| 29 | } |
| 30 | |
| 31 | function toggleLegend(): void { |
| 32 | const legendContent = document.getElementById('legendContent'); |
| 33 | const legendToggle = document.getElementById('legendToggle'); |
| 34 | if (legendContent && legendToggle) { |
| 35 | if (legendContent.style.display === 'none') { |
| 36 | legendContent.style.display = 'block'; |
| 37 | legendToggle.textContent = '−'; |
| 38 | } else { |
| 39 | legendContent.style.display = 'none'; |
| 40 | legendToggle.textContent = '+'; |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | function zoomIn(): void { |
| 46 | const { svg, zoom } = state; |
nothing calls this directly
no outgoing calls
no test coverage detected