CesiumGS / cesium-webpack-example

The minimal recommended setup for an application using Cesium with Webpack.
Apache License 2.0
243 stars 160 forks source link

Is CESIUM_BASE_URL even still involved in worker setup and do they still need to be copied around? #54

Closed katSchmid closed 7 months ago

katSchmid commented 8 months ago

Is CESIUM_BASE_URL even still involved in worker setup and do they still need to be copied around?

jjspace commented 7 months ago

@katSchmid yes CesiumJS still needs to load the worker files at runtime so they need to be accessible. The CESIUM_BASE_URL value helps point to the path where those files will be located so it needs to be set as well. If they are at the root of your site you can set CESIUM_BASE_URL to an empty string ("")

jjspace commented 7 months ago

I'm going to close this issue for now. If you have any problems feel free to open a new one. This example was just updated so maybe it can provide more guidance