diff --git a/web/client/epics/__tests__/mapviews-test.js b/web/client/epics/__tests__/mapviews-test.js index 39b5ecbd6e..94e910ef0a 100644 --- a/web/client/epics/__tests__/mapviews-test.js +++ b/web/client/epics/__tests__/mapviews-test.js @@ -89,6 +89,26 @@ describe('mapviews epics', () => { UPDATE_ADDITIONAL_LAYER, UPDATE_ADDITIONAL_LAYER ]); + + expect(actions[4].options.style).toBeTruthy(); + expect(actions[4].options.style).toEqual({ + format: 'geostyler', + body: { + name: '', + rules: [ + { + name: '', + symbolizers: [{ + kind: 'Fill', + color: '#ffffff', + fillOpacity: 0, + msClampToGround: true, + msClassificationType: '3d' + }] + } + ] + } + }); } catch (e) { done(e); } diff --git a/web/client/epics/mapviews.js b/web/client/epics/mapviews.js index bb46441821..8efa93e335 100644 --- a/web/client/epics/mapviews.js +++ b/web/client/epics/mapviews.js @@ -180,7 +180,9 @@ export const updateMapViewsLayers = (action$, store) => symbolizers: [{ kind: 'Fill', color: '#ffffff', - fillOpacity: 0 + fillOpacity: 0, + msClampToGround: true, + msClassificationType: '3d' }] } ]