Loading app/src/js/ApiJsonCollection.js +0 −19 Original line number Diff line number Diff line Loading @@ -71,23 +71,4 @@ function getItemCollection(name) { } } // function getStacItems(name) { // return getItemCollection(name).then(result => { // console.log("STAC Item Collection: "); // console.log(result); // var items = []; // console.log(result.links.length); // for (let i = 0; i < result.links.length; i++) { // if (result.links[i].rel == 'item') { // fetch(result.links[i].href) // .then(response => response.json()) // .then(data => items.push(data)) // } // } // console.log(items); // return items; // }); // } export{ getItemCollection }; app/src/js/AstroMap.js +0 −8 Original line number Diff line number Diff line Loading @@ -132,14 +132,6 @@ export default L.Map.AstroMap = L.Map.extend({ } } }); // // wait 3 seconds to fully grab array of stac items // setTimeout(() => { // console.log(footprints.length) // for (let i = 0; i < footprints.length; i++) { // footprintLayer.addData(footprints[i]); // } // }, 3000); // }) }, /** Loading Loading
app/src/js/ApiJsonCollection.js +0 −19 Original line number Diff line number Diff line Loading @@ -71,23 +71,4 @@ function getItemCollection(name) { } } // function getStacItems(name) { // return getItemCollection(name).then(result => { // console.log("STAC Item Collection: "); // console.log(result); // var items = []; // console.log(result.links.length); // for (let i = 0; i < result.links.length; i++) { // if (result.links[i].rel == 'item') { // fetch(result.links[i].href) // .then(response => response.json()) // .then(data => items.push(data)) // } // } // console.log(items); // return items; // }); // } export{ getItemCollection };
app/src/js/AstroMap.js +0 −8 Original line number Diff line number Diff line Loading @@ -132,14 +132,6 @@ export default L.Map.AstroMap = L.Map.extend({ } } }); // // wait 3 seconds to fully grab array of stac items // setTimeout(() => { // console.log(footprints.length) // for (let i = 0; i < footprints.length; i++) { // footprintLayer.addData(footprints[i]); // } // }, 3000); // }) }, /** Loading