Interactive interface for browsing global, full-resolution satellite imagery
fix layer serialize #1755
Benjamin King235791214313
diff --git a/web/js/location.js b/web/js/location.jsindex b546bc8dd..0eb1ab64b 100644--- a/web/js/location.js+++ b/web/js/location.js@@ -286,7 +286,7 @@ const getParameters = function(config, parameters) {const compareIsActive = get(state, 'compare.active');const isCompareA = get(state, 'compare.isCompareA');const activeLayersB = get(state, 'layers.activeB');- return !isCompareA && !compareIsActive+ return !isCompareA && compareIsActive? serializeLayers(activeLayersB, state, 'activeB'): serializeLayers(currentLayers, state, 'active');}