Commit b63da727 authored by Amy Stamile's avatar Amy Stamile
Browse files

Removed commented code.

parent 95e562da
Loading
Loading
Loading
Loading
+0 −19
Original line number Diff line number Diff line
@@ -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 };
+0 −8
Original line number Diff line number Diff line
@@ -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);
    // })
  },

  /**