Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.39 KB

File metadata and controls

43 lines (32 loc) · 1.39 KB
layout
page

Are you part of the OpenTraits Initiative? Then add yourself and show who we are: https://github.com/open-traits-network/open-traits-network.github.io/blob/master/_members

<script type="text/javascript" src="js/leaflet.js"></script> <script type="text/javascript" src="js/leaflet.markercluster.js"></script> <script type="text/javascript"> {% include members.js %} function onEachFeature(feature, layer) { if (feature.properties && feature.properties.popupContent) { layer.bindPopup(feature.properties.popupContent); } } var map = L.map('map-container').setView([0,0], 1); L.tileLayer('https://{s}.tile.osm.org/{z}/{x}/{y}.png', { attribution: '© OpenStreetMap contributors' }).addTo(map); var featureGroup = L.markerClusterGroup(); featureGroup.addLayer( L.geoJSON(otnMembers, { onEachFeature: onEachFeature } ) ); map.addLayer(featureGroup); </script>

Map made with [http://leafletjs.com](http://leafletjs.com), Clustering via [Leaflet.markercluster](https://github.com/Leaflet/Leaflet.markercluster). Inspired by [deRSE map](https://www.de-rse.org/en/map.html).