Commit 02748f3a authored by Amy Stamile's avatar Amy Stamile
Browse files

Add console.log output when clicking footprint.

parent 6f7a4b64
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -125,7 +125,10 @@ export default L.Map.AstroMap = L.Map.extend({
  loadFootprintLayer: function(name, page) {
    getItemCollection(name, page).then(result => {
      if (result != undefined) {
        this._geoLayer = L.geoJSON().addTo(this);
        this._geoLayer = L.geoJSON()
          .on('click', function(e){
            console.log(e);
        }).addTo(this);
        this._footprintCollection["Footprints"] = this._geoLayer;
        for (let i = 0; i < result.length; i++) {
          for (let j = 0; j < result[i].features.length; j++) {