Browse Source

fix: new Cesium.Viewer

tags/3.0.0
ShenWeiQun 2 years ago
parent
commit
f003eb982f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/modules/viewer/Viewer.js

+ 1
- 1
src/modules/viewer/Viewer.js View File

@@ -30,7 +30,7 @@ class Viewer {
throw new Error('Viewer:the id is empty')
}
this._delegate = Cesium.Viewer
? Cesium.Viewer(id, {
? new Cesium.Viewer(id, {
...DEF_OPTS,
...options,
})

Loading…
Cancel
Save