Update index.html

This commit is contained in:
2024-06-03 16:23:47 -04:00
committed by GitHub
parent 88638073a5
commit d53623e895

View File

@@ -108,9 +108,9 @@
if (updateTime) { if (updateTime) {
var timeDifference = getTimeDifference(updateTime); var timeDifference = getTimeDifference(updateTime);
document.getElementById('banner').innerText = `Last updated: ${timeDifference} minutes ago`; document.getElementById('banner').innerText = `StuTracker - Location Last updated: ${timeDifference} minutes ago`;
} else { } else {
document.getElementById('banner').innerText = 'Update time not found in KML file'; document.getElementById('banner').innerText = 'StuTracker - Update time not found';
} }
var kmlLayer = omnivore.kml(kmlUrl, null, L.geoJSON(null, { var kmlLayer = omnivore.kml(kmlUrl, null, L.geoJSON(null, {