Skip to content

Commit

Permalink
PB-995: update Cesium to latest and fix Cesium CSS import warning
Browse files Browse the repository at this point in the history
also update our code to be compliant with Cesium 1.122+ (function name change)
  • Loading branch information
pakb committed Nov 15, 2024
1 parent 3f7d4c3 commit 7168510
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"animate.css": "^4.1.1",
"axios": "^1.7.7",
"bootstrap": "^5.3.3",
"cesium": "^1.122.0",
"cesium": "^1.123.0",
"chart.js": "^4.4.4",
"chartjs-plugin-zoom": "^2.0.1",
"dompurify": "^3.1.7",
Expand Down
2 changes: 1 addition & 1 deletion src/modules/map/components/cesium/CesiumPopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default {
this.$emit('close')
return
}
const cartesianCoords = SceneTransforms.wgs84ToWindowCoordinates(
const cartesianCoords = SceneTransforms.worldToWindowCoordinates(
this.getViewer().scene,
Cartesian3.fromDegrees(
this.wgs84Coordinates[0],
Expand Down
2 changes: 1 addition & 1 deletion src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// properly therefore it is imported here in the un-scoped app styling.
@import '@/scss/tippy-theme';

@import 'node_modules/cesium/Build/Cesium/Widgets/widgets.css';
@import 'node_modules/cesium/Build/Cesium/Widgets/widgets';

body {
// disabling double tap = zoom the UI on iOS
Expand Down

0 comments on commit 7168510

Please sign in to comment.