| 1542 | // X is from left; Y is from bottom (like level positions), so we flip it |
| 1543 | // before mapping into the SVG's top-left–based pixel space. |
| 1544 | const mapToSvgX = xPercent => (xPercent / 100) * mapWidth |
| 1545 | const mapToSvgY = yPercentFromBottom => { |
| 1546 | const yPercentFromTop = 100 - yPercentFromBottom |
| 1547 | return (yPercentFromTop / 100) * mapHeight |
nothing calls this directly
no outgoing calls
no test coverage detected