This commit is contained in:
2026-02-04 17:56:29 -05:00
parent c88c9bbeea
commit 050db847ca
6 changed files with 114 additions and 10 deletions
@@ -3,7 +3,7 @@ fetch('./js/Meteorite_Landings.json')
.then(data => {
console.log(data);
const tableBody = document.getElementById("meteorTableBody");
data.forEach(meteor => {
data.splice(0,50).forEach(meteor => { // Just get 50 values for now
const row = document.createElement("tr");
const id = document.createElement("td");
id.textContent = meteor.id ?? "-";
@@ -1,6 +1,9 @@
// Load the map from the Google Maps JS API
function loadMap() {
const map = new google.maps.Map(document.getElementById("map"), {
center: {lat: 0, lng: 0}, // Center of the globe
zoom: 2
});
}
}
// Add custom markers from meteor data