From ed9117199f713f11a7b8249c7cebe20a6c93c6ae Mon Sep 17 00:00:00 2001 From: Lorenzo Natali Date: Fri, 19 May 2017 11:43:42 +0200 Subject: [PATCH] Fixes for 3D - Fix #1849 removing zoom button from cesium navigator - Fix #1848 moving the globe switcher in the correct place --- web/client/libs/cesium-navigation/cesium-navigation.css | 3 ++- web/client/plugins/GlobeViewSwitcher.jsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/client/libs/cesium-navigation/cesium-navigation.css b/web/client/libs/cesium-navigation/cesium-navigation.css index 257b02a88c..6518c8a90d 100644 --- a/web/client/libs/cesium-navigation/cesium-navigation.css +++ b/web/client/libs/cesium-navigation/cesium-navigation.css @@ -137,7 +137,8 @@ height: 95px; fill: #68ADFE; } -#distanceLegendDiv > .navigation-controls > div:nth-child(2) { +/*#distanceLegendDiv > > div:nth-child(2) {*/ +#distanceLegendDiv .navigation-controls { display: none; } diff --git a/web/client/plugins/GlobeViewSwitcher.jsx b/web/client/plugins/GlobeViewSwitcher.jsx index 0df23e0d9c..4ecefc772f 100644 --- a/web/client/plugins/GlobeViewSwitcher.jsx +++ b/web/client/plugins/GlobeViewSwitcher.jsx @@ -40,7 +40,7 @@ module.exports = { GlobeViewSwitcherPlugin: assign(GlobeViewSwitcher, { Toolbar: { name: '3d', - position: 5, + position: 10, alwaysVisible: true, tool: true, priority: 1