var map = L.map('map').setView([0, 0], 13).setZoom(1);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '© OpenStreetMap contributors'
}).addTo(map);
for (let record of obs) {
L.circleMarker([record['lat'], record['lng']], {
radius: 2
}).addTo(map).on("click", function (e) {
e.target.bindPopup(`${record['species']} recorded on ${record['date']} `);
});
}