Cesium and OpenLayers dependencies are handled differently in OL-Cesium.
- Cesium dependency is external: each release is tested with a specific
version but you can provide and use another one at runtime.
- OpenLayers dependency is compiled together: the result of the compilation
contains OpenLayers and it is made available to applications through
This strategy has been the most simple (no externs generation) powerful
(extend OpenLayers types, access internal code) and maintanable.
If you are interested in an ES6 module support and you want to help, you
can test the alpha-quality npm package at https://www.npmjs.com/package/olcs
I will try to publish a new OL-Cesium version today and to update the
On Fri, Mar 2, 2018 at 2:48 AM, Eric Sherouse via OpenLayers Dev <
> I've started digging in to ol-cesium while developing an Angular 5
> application that uses openlayers and cesium. My assumption going in was
> that the ol-cesium project would be dependent on vanilla versions of
> openlayers and cesium and strictly export an 'ol-cesium' module that
> provides additional functionality on top of its dependent libraries. After
> looking over some of the source, it appears that ol-cesium actually bundles
> aspects of the openlayers project in with ol-cesium functionality and
> exports a custom ol module. If I am correct, I am curious about the
> motivation behind this decision instead of either keeping ol-cesium and
> openlayers distinct or pulling in the new functionality into mainline
> In the ideal case, I would like to be able to use ol-cesium along side my
> existing openlayers/cesium installations. If I had to downgrade/upgrade
> versions of either library, I would certainly understand. The necessity to
> use the custom exported ol module from ol-cesium means I need to refactor
> some of my application code because the closure compiler mangles the whole
> ol object, which I have already imported from openlayers.
> Any thoughts on this would be much appreciated.
> Thank you,
> You received this message because you are subscribed to the Google Groups
> "OpenLayers Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to openlayers-dev+unsubscr...@googlegroups.com.
> To post to this group, send email to email@example.com.
> Visit this group at https://groups.google.com/group/openlayers-dev.
> To view this discussion on the web visit https://groups.google.com/d/
> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
"OpenLayers Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/openlayers-dev.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.