Mercurial > gemma
diff client/src/components/fairway/BottleneckDialogue.vue @ 4526:b3261790a9b2
Set differences layers visibility to false on survey change to avoid showing both layers.
author | Raimund Renkert <raimund@renkert.org> |
---|---|
date | Mon, 07 Oct 2019 14:46:43 +0200 |
parents | 9887061df57b |
children | 0bad1dcdb044 |
line wrap: on
line diff
--- a/client/src/components/fairway/BottleneckDialogue.vue Mon Oct 07 14:22:35 2019 +0200 +++ b/client/src/components/fairway/BottleneckDialogue.vue Mon Oct 07 14:46:43 2019 +0200 @@ -592,6 +592,9 @@ .getLayer("DIFFERENCES") .getSource() .refresh(); + this.openLayersMap(COMPARESURVEYS.compare.id) + .getLayer("DIFFERENCES") + .setVisible(false); } }) .catch(error => {