Skip to content

Commit

Permalink
Merge pull request #5215 from camptocamp/update_cesium
Browse files Browse the repository at this point in the history
Update Cesium
  • Loading branch information
gberaudo committed Oct 11, 2019
2 parents c8e9fbb + 705aec7 commit 3b92f0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions examples/simple3d.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ function MainController($rootScope, ngeoOlcsService) {
})
});

// TODO: detect and use different URL for DEBUG MODE
const cesiumUrl = '../node_modules/@camptocamp/cesium/Build/Cesium/Cesium.js';
const cesiumUrl = document.location.search.includes('mode=dev') ?
'https://cesium.com/downloads/cesiumjs/releases/1.62/Build/CesiumUnminified/Cesium.js' :
'https://cesium.com/downloads/cesiumjs/releases/1.62/Build/Cesium/Cesium.js';

/**
* @type {import('olcs/contrib/Manager.js').default}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@babel/plugin-transform-spread": "~7.6.2",
"@babel/preset-env": "~7.6.2",
"@camptocamp/babel-plugin-angularjs-annotate": "~0.8.2",
"@camptocamp/cesium": "~1.56.1",
"@fortawesome/fontawesome-free": "~5.11.2",
"@geoblocks/proj": "~0.4.0",
"@sentry/browser": "~5.6.3",
Expand Down

0 comments on commit 3b92f0c

Please sign in to comment.