layout |
---|
default |
{% if member.slack_account_url %} {% endif %} {{ member.slack_account }} {% if member.slack_account_url %} {% endif %}
{% endif %}' + '{% if member.fediverse_account %}{{ member.fediverse_account }}
{% endif %}' + '{% if member.stack_overflow_account %}{% endif %}' + '{% if member.linkedin_account %}{% endif %}' + '{% if member.contact_url %}{% endif %}' + '{% if member.github_account %}{% endif %}' + '{% if member.gitlab_account %}{% endif %}' + '{% if member.twitter_account %}{% endif %}' )); {% endfor %} var common_attribution_pre = 'Données cartographiques : contributeur·rices OpenStreetMap | Tuiles : '; var common_attribution_post = ' | Icônes : Font Awesome | À propos de ce site'; var neighbourhood_map_layer = L.tileLayer('https://tile.thunderforest.com/neighbourhood/{z}/{x}/{y}.png?apikey=f001bec5e17447b0b597e5a8e766bbf2', {attribution: common_attribution_pre + 'Neighbourhood' + common_attribution_post}); var markers_layer = L.markerClusterGroup(); var active_probes_layer = L.featureGroup.subGroup(markers_layer, member_markers); markers_layer.addLayer(active_probes_layer); var map = L.map('map', {layers: [neighbourhood_map_layer, markers_layer, active_probes_layer]}); L.control.scale({maxWidth: 300}).addTo(map); map.fitBounds(L.latLngBounds(member_markers.map(e => e.getLatLng()))); </script>