diff --git a/index.html b/index.html index 0c81f3e6..c63b456e 100644 --- a/index.html +++ b/index.html @@ -165,26 +165,26 @@
Saved Records
Records @@ -332,7 +332,7 @@
Saved Records
? -
-
?
- -
-
- ? - -
- -
- 12 +
+
+ ? + +
+ +
+ 12 +
-
-
-
-
-
- - -
-
-
-
-
- ? - -
- -
- 2 +
+
+
+
+ +
-
-
-
- -
- Audio Export -
-
-
-
-
- - -
-
-
-
-
-
- -
-
- - -
-
- - +
+
+ ? + +
+ +
+ 2
-
?
-
+
+
+
+ Audio Export +
-
- - + + + + +
-
- - +
+
+
+
+
+ +
+
+ + +
+
+ + +
+
+
?
-
+
+
+
- ? -
- - - +
+ + +
+
+ +
-
-
-
-
+
? + title="When enabled, stereo audio will be downmixed to mono">?
- + role="switch" id="downmix"> + + +
+ +
+
+
+
+
+
+ ? +
+ + +
+
-
-
-
- - - - - + - -
- - Chirpity bird calls: Identifying birds by sound -
- - -
- -
- -
-
- - - -
- - - - - - - - - - -
-
- -
-
-
-
-
-
- - + + -
-
-
- date_range  - Apply a date filter expand_more + + -
-
- - - - -
-
-
-
- fullscreen + + - -
-
-
warning
-
- + + - -
-
-
- - -
- -
- -
- - - - - - - - - - - - - - -
sort Timesort Positionsort SpeciesCallsLabelNotes
- + +
+
+
-
-
-
- -
-
-
-
-
-
-
-
-
+
+ id="explore-locations">
-
-
+
+
date_range  - Apply a date filter expand_more + Apply a date filter expand_more +
+
+
+ + + + +
+
+
+
+ fullscreen +
+
+
+ +
+
+
warning
+
+ +
+ +
+ + +
+

+ +
+ + +
+
+ nights_stay + blur_on + swap_horiz + migrants + 50% + + + + +
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Earliest Spring Record
Latest Spring Record
Earliest Autumn Record
Latest Autumn Record
Most Calls in 24 hours
Chart generated in:
+ +
+
+
+ +
+
+ +
+ + + + + + + + + + + + + + +
sort Timesort Positionsort SpeciesCallsLabelNotes
+ +
-
-
-
+ + +
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+ date_range  + Apply a date filter expand_more +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Earliest Spring Record
Latest Spring Record
Earliest Autumn Record
Latest Autumn Record
Most Calls in 24 hours
Chart generated in:
+
+ +
+
+
+
+
+
-
-
-
- - - -
-
Downloading update: - -
- Chirpity Nocmig © Matthew Kirkland
-
- - - - - - - - - - - - + + + + + + + + + + + - bounds.extend(marker.getLatLng()); // Extend the bounds to include this marker - }); - - map.fitBounds(bounds) - const tiles = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { - maxZoom: 15, - minZoom: 3, - attribution: '© OpenStreetMap' - }).addTo(map); - markerGroup.addTo(map) - const firstMarkerEl = document.querySelector('.leaflet-marker-icon') - firstMarkerEl.classList.add('leaflet-marker-icon-default') - markerGroup.on('click', function (e) { - onMapClick(e) - }); - } else{ - map.setView([config.latitude, config.longitude], 11); - const tiles = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { - maxZoom: 15, - minZoom: 3, - attribution: '© OpenStreetMap' - }).addTo(map); - if (!marker) marker = L.marker([config.latitude, config.longitude]).addTo(map); - const firstMarkerEl = document.querySelector('.leaflet-marker-icon') - firstMarkerEl.classList.add('leaflet-marker-icon-default') - marker.on('click', onMapClick); - } - } - const latLonElements = ['latitude', 'longitude', 'customLat', 'customLon']; - latLonElements.forEach(el => { - const where = el.indexOf('custom') > -1 ? 'customLocationMap' : 'settingsMap'; - el = document.getElementById(el); - el.addEventListener('change', () => { - showMap(where); - displayLocationAddress(where); - }); - }) - - function updateMap(lat,lng){ - // Update the marker's position - if (!marker) marker = L.marker([lat, lng]).addTo(map); - marker.setLatLng([lat, lng]); - // Center the map view on the new marker position - map.setView([lat, lng]); - } - async function placeMap(divID){ - map?.remove(); marker = undefined; - map = L.map(divID); - if (divID === 'settingsMap'){ - latTxt = 'latitude'; - lonTxt = 'longitude'; - } else{ - latTxt = 'customLat'; - lonTxt = 'customLon'; - } - const latEl = document.getElementById(latTxt); - const lonEl = document.getElementById(lonTxt); - - showMap(divID); - map.on('click', onMapClick); - - } - - - - - - \ No newline at end of file + + + \ No newline at end of file diff --git a/js/ui.js b/js/ui.js index 356fe771..7f1f2c96 100644 --- a/js/ui.js +++ b/js/ui.js @@ -2554,13 +2554,13 @@ const updateSummary = ({ summary = [], filterSpecies = '' }) => { } const selected = item.cname === filterSpecies ? ' text-warning' : ''; summaryHTML += ` - ${iconizeScore(item.max)} - - ${item.cname}
${item.sname}
- - ${item.count} - ${item.calls} - `; + ${iconizeScore(item.max)} + + ${item.cname}
${item.sname}
+ + ${item.count} + ${item.calls} + `; } summaryHTML += ''; diff --git a/js/worker.js b/js/worker.js index 9c3bf7c8..21b33841 100644 --- a/js/worker.js +++ b/js/worker.js @@ -470,7 +470,7 @@ const prepSummaryStatement = () => { extraClause += ' AND dateTime BETWEEN ? AND ? '; } if (STATE.detect.nocmig){ - extraClause += ' AND isDaylight != 1 '; + extraClause += ' AND (isDaylight != 1 OR isDaylight IS NULL) '; } if (STATE.blocked.length) { const excluded = prepParams(STATE.blocked);