Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

remove console.log

Benjamin King9b68bbc17008
diff --git a/web/js/map/util.js b/web/js/map/util.js
index 1967c529f..645ac3cca 100644
--- a/web/js/map/util.js
+++ b/web/js/map/util.js
@@ -24,17 +24,16 @@ export function mapUtilZoomAction(map, amount, duration, center) {
duration: zoomDuration,
center: centerPoint
});
-};
-export function getActiveLayerGroup (map, layerGroupString) {
+}
+export function getActiveLayerGroup(map, layerGroupString) {
var group = null;
var array = map.getLayers().getArray();
for (var i = 0, len = array.length; i < len; i++) {
let layerGroup = array[i];
- console.log(layerGroup.get('group'), layerGroupString);
if (layerGroup.get('group') === layerGroupString) {
group = layerGroup;
break;
}
- };
+ }
return group;
-};
+}