link map nodes to member sites

This commit is contained in:
Max Böck 2019-05-16 20:59:09 +02:00
parent f187a7ca3c
commit fd957fe7ea

View file

@ -15,7 +15,7 @@
<circle cx="{{ w/2 }}" cy="{{ h/2 }}" r="{{ ri }}" class="map__center"></circle>
{% endif %}
{% for node in nodes %}
<circle r="10" cx="{{ node.x }}" cy="{{ node.y }}" class="map__node"></circle>
<a href="{{ node.url }}"><circle r="10" cx="{{ node.x }}" cy="{{ node.y }}" class="map__node"></circle></a>
<text x="{{ node.x }}" y="{{ node.y - 15 }}" text-anchor="middle" class="map__tooltip">{{ node.title }}</text>
{% endfor %}
</svg>