diff --git a/CHANGES.md b/CHANGES.md index 1dfc89548..df3bf5222 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,10 +1,12 @@ # Changelog +# v 2.14.0 - 2023-04-26 -# v 2.13.2 - 2022-11- +* Breaking changes + * Use named exports * Changes - * port to CesiumJS 1.99 and OL 7.1 + * port to CesiumJS 1.104 and OL 7.3 # v 2.13 - 2021-05-20 diff --git a/package.json b/package.json index 5a575f5e4..b7fe3d3ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ol-cesium", - "version": "2.13.2", + "version": "2.14.0", "description": "OpenLayers Cesium integration library", "scripts": { "build-examples": "cross-env NODE_ENV=production TARGET=examples webpack --progress --bail", diff --git a/src/index.library.js b/src/index.library.js index 707556870..60a46229e 100644 --- a/src/index.library.js +++ b/src/index.library.js @@ -14,16 +14,14 @@ import Manager from './olcs/contrib/Manager.js'; export default OLCesium; -// Using var for phantomJS -// eslint-disable-next-line no-var -var olcs = window['olcs'] = {}; +const olcs = window['olcs'] = {}; olcs.OLCesium = OLCesium; olcs.AbstractSynchronizer = AbstractSynchronizer; olcs.RasterSynchronizer = RasterSynchronizer; olcs.VectorSynchronizer = VectorSynchronizer; -olcs.core = core.default; +olcs.core = core; olcs.core.OLImageryProvider = OLImageryProvider; olcs.core.VectorLayerCounterpart = VectorLayerCounterpart;