diff --git a/src/js/AstroMap.js b/src/js/AstroMap.js index 09e92188b5b407252b3575098155ffedd74bd442..b51779c4049fccb40b23465b708b847d98751e98 100644 --- a/src/js/AstroMap.js +++ b/src/js/AstroMap.js @@ -331,7 +331,6 @@ export default L.Map.AstroMap = L.Map.extend({ // Add collections to the Overlay control L.LayerCollection.layerControl.addOverlay(this._footprintCollection[title], title); - } else if(this._geoLayers[i]) { delete this._footprintCollection[title]; // Delete layers with no Footprints