Interactive interface for browsing global, full-resolution satellite imagery
remove comment, unused reject param
Jason Kente28f91641ade
diff --git a/web/js/map/ui.js b/web/js/map/ui.jsindex adbce3186..68fb173e7 100644--- a/web/js/map/ui.js+++ b/web/js/map/ui.js@@ -218,7 +218,6 @@ export default function mapui(models, config, store, ui) {// it is possible that config.projections somehow becomes array-like.lodashForOwn(config.projections, (proj) => {const map = createMap(proj);- // map.getLayers().on('add', onLayerAdd);self.proj[proj.id] = map;});events.on('map:disable-click-zoom', () => {diff --git a/web/js/modules/map/util.js b/web/js/modules/map/util.jsindex ec3c3bc40..8b4b8fa3e 100644--- a/web/js/modules/map/util.js+++ b/web/js/modules/map/util.js@@ -260,7 +260,7 @@ function promiseTileLayer(layer, extent, map) {* @return {object} Promise*/function promiseLayerGroup(layerGroup, map) {- return new Promise((resolve, reject) => {+ return new Promise((resolve) => {// Current layer's 3 layer array (prev, current, next days)const layers = layerGroup.getLayersArray() || [layerGroup];