Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Remove duplicate code

ZachTRicef8f9e63540f2
diff --git a/web/js/map/layerbuilder.js b/web/js/map/layerbuilder.js
index 78c510d97..09758b41b 100644
--- a/web/js/map/layerbuilder.js
+++ b/web/js/map/layerbuilder.js
@@ -270,7 +270,6 @@ export function mapLayerBuilder(models, config, cache, Parent) {
extent = proj.maxExtent;
start = [proj.maxExtent[0], proj.maxExtent[3]];
- if (!source) { throw new Error(def.id + ': Invalid source: ' + def.source); }
if (!source) {
throw new Error(def.id + ': Invalid source: ' + def.source);
}