Loading app/src/js/AstroMap.js +4 −1 Original line number Diff line number Diff line Loading @@ -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++) { Loading Loading
app/src/js/AstroMap.js +4 −1 Original line number Diff line number Diff line Loading @@ -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++) { Loading