Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About CESIUM_BASE_URL and result of cesiumScriptRegex.exec #6319

Closed
luo-geng opened this issue Mar 10, 2018 · 5 comments
Closed

About CESIUM_BASE_URL and result of cesiumScriptRegex.exec #6319

luo-geng opened this issue Mar 10, 2018 · 5 comments

Comments

@luo-geng
Copy link

i use thy way of npm i cesium to build my demo.then, use webpack to pack my code up.
but when i debugged ,thw code var result = cesiumScriptRegex.exec(src); get a result=null.
Have you any way likes npm i cesium .thanks

@hpinkos
Copy link
Contributor

hpinkos commented Mar 12, 2018

Hello @luogeng2017, please see this tutorial for webpack instructions: https://cesiumjs.org/tutorials/cesium-and-webpack/

In the future, please ask questions like this on the Cesium forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev
We use GitHub exclusively for planning new features and tracking bugs. Thanks!

@hpinkos hpinkos closed this as completed Mar 12, 2018
@nmccready
Copy link

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.

@hpinkos
Copy link
Contributor

hpinkos commented Aug 6, 2018

@ggetz can you look into this?

@nmccready
Copy link

nmccready commented Aug 6, 2018

Heads up, I figured it out.

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

@hpinkos
Copy link
Contributor

hpinkos commented Aug 7, 2018

Thanks for the info @nmccready! I created this issue so we can update the example and tutorial: CesiumGS/cesium-webpack-example#11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants