Skip to content

Commit

Permalink
fix(components): 🐛 cesium.VERSION being undefined, causing an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyaoji committed Feb 28, 2024
1 parent d577b2a commit 4e74217
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/utils/cesium-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,7 @@ export function heightToLevel(altitude: number) {
}

export function compareCesiumVersion(a, b, operator: CompareOperator = '>=') {
a = a || '1.6.7'
return compare(a, b, operator)
}

Expand Down

0 comments on commit 4e74217

Please sign in to comment.