zouyaoji / vue-cesium

🎉 Vue 3.x components for CesiumJS.
https://zouyaoji.top/vue-cesium
MIT License
1.43k stars 312 forks source link

[Bug Report] Not able to display the globe and imagery #443

Closed sachinsbgithub closed 9 months ago

sachinsbgithub commented 10 months ago

VueCesium version

3.2.2

OS/Browsers version

all new broswer

Vue version

3.3.4

Cesium version

1.109.0

Reproduction Link

https://codepen.io/sachinsbgithub/pen/NWebyzE

Steps to reproduce

open the link and check console

What is Expected?

Globe need to be loaded

What is actually happening?

Globe is not loading, getting this error

Uncaught TypeError: Failed to execute 'importScripts' on 'WorkerGlobalScope': Module scripts don't support importScripts(). at a32529b6-da4f-4d8f-9f88-3f24aefaeec8:1:1
also i used vue cesium , getting the same issue in my live project .

zouyaoji commented 10 months ago

It is suspected to be a bug of cesium. Please follow this issue:

https://github.com/CesiumGS/cesium/issues/11505

zouyaoji commented 9 months ago

This appears to be a bug in the CDN version of Cesium. Until it's resolved by the official team, you can avoid this issue by placing Cesium in your project directory.

sachinsbgithub commented 9 months ago

Thank you for your response

On Tue, Sep 26, 2023, 3:31 PM zouyaoji @.***> wrote:

This appears to be a bug in the CDN version of Cesium. Until it's resolved by the official team, you can avoid this issue by placing Cesium in your project directory.

— Reply to this email directly, view it on GitHub https://github.com/zouyaoji/vue-cesium/issues/443#issuecomment-1735222662, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3J6CBCJS3GECNVMVRTKHFDX4KRWNANCNFSM6AAAAAA4MZ7XLI . You are receiving this because you authored the thread.Message ID: @.***>

zouyaoji commented 9 months ago

This issue has been fixed.