diff --git a/map/client/mixins/globe/mixin.base-globe.js b/map/client/mixins/globe/mixin.base-globe.js index 26b7396e1..fbf7fd2ea 100644 --- a/map/client/mixins/globe/mixin.base-globe.js +++ b/map/client/mixins/globe/mixin.base-globe.js @@ -54,6 +54,8 @@ export const baseGlobe = { terrainProviderViewModels: [] }) this.viewer = new Cesium.Viewer(domEl, viewerOptions) + // Debug mode ? + if (viewerOptions.debug) this.viewer.extend(Cesium.viewerCesiumInspectorMixin) // Cesium always create a default provider this.viewer.scene.imageryLayers.removeAll() // Add defaults handler