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

Base url issue #11

Closed hpinkos closed 8 months ago

hpinkos commented 6 years ago

From https://github.com/AnalyticalGraphicsInc/cesium/issues/6319#issuecomment-410764699

The documentation for Cesium and Webpack appears to be broken around 1.47, 1.48 . Whenever the iframe implementation was enforced as the dom container for the map.


Heads up, I figured it out.

CESIUM_BASE_URL : JSON.stringify('') now needs to be CESIUM_BASE_URL : JSON.stringify('../')

ggetz commented 6 years ago

Thanks @hpinkos, you beat me to it. This should be updated both in this repo and in the cesiumjs.org tutorial as well.