-
Notifications
You must be signed in to change notification settings - Fork 327
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
No default export #1094
Comments
Hi @Christoph142 , I can reproduce your import error with plain javascript. |
Thanks for checking this out. I already pinned down 2.15.0 for the time being and I'm keeping an eye on this here. |
See #1096. |
ES6 modules, exported types and updated build system sounds great! @Christoph142 could you please share a working usage example on Stackblitz or similar? Would love to see your package.json and how you import and use ol-cesium 2.15.x in Angular. I have had to pin olcs 2.14.0 and cesium 1.105.2 since newer versions of either yields various errors (related to layers, overlays and vector-projections) from the Angular component that toggles 2D/3D-map. Sorry for hijacking thread, I'm asking for sort of the same end result though. |
@ccondrup the trick is installing ol-cesium npm package. |
I bumped into the same issue and tried going with 2.15.0 to no avail :
I also tried setting up a stackblitz in order to reproduce the issue but it runs into another compile issue (just uncomment line 12 in main.ts for it to occur) :
|
I used to use
import OLCesium from 'ol-cesium';
This works fine in 2.15.0, but in 2.15.1 and 2.15.2 angular complains that there's no default export.
Am I doing something wrong? Is the import supposed to be done differently or did something break?
The text was updated successfully, but these errors were encountered: