From 9a261e2ba8ac2b021fea770be8c6341a7da0cbf5 Mon Sep 17 00:00:00 2001 From: Esko Ikkala <esko.ikkala@aalto.fi> Date: Fri, 26 Oct 2018 14:11:05 +0300 Subject: [PATCH] Hide deck.gl --- src/client/containers/MapApp.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/client/containers/MapApp.js b/src/client/containers/MapApp.js index ac59020c..15b92ce4 100644 --- a/src/client/containers/MapApp.js +++ b/src/client/containers/MapApp.js @@ -12,7 +12,7 @@ import TopBar from '../components/TopBar'; import CircularProgress from '@material-ui/core/CircularProgress'; import purple from '@material-ui/core/colors/purple'; import Typography from '@material-ui/core/Typography'; -import Deck from '../components/Deck'; +//import Deck from '../components/Deck'; import { updateQuery, @@ -208,9 +208,9 @@ let MapApp = (props) => { /> ); } - if ((oneColumnView && options.resultFormat === 'migrationMap') || (!oneColumnView)) { - mapElement = <Deck />; - } + // if ((oneColumnView && options.resultFormat === 'migrationMap') || (!oneColumnView)) { + // mapElement = <Deck />; + // } //console.log(creationPlaces) let statistics = ''; @@ -237,14 +237,14 @@ let MapApp = (props) => { ); break; } - case 'migrationMap': { - mainResultsView = ( - <div className={classes.fullMap}> - {mapElement} - </div> - ); - break; - } + // case 'migrationMap': { + // mainResultsView = ( + // <div className={classes.fullMap}> + // {mapElement} + // </div> + // ); + // break; + // } case 'statistics': { mainResultsView = statistics; break; -- GitLab