You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ol-cesium
This npm package contains 1 file in UMD format (in dist) and the src (in src).
UMD is obsolete stuff, you certainly don't want that and I think we should remove it in the future.
You can also directly reference the sources like this: import OLCesium from 'ol-cesium/src/olcs/OLCesium.js';.
That works and it is what I am currently using in projects actually.
olcs
This npm package only contains the source code, put directly at the root (not in a src directory).
I think we did that package so that it looks nicer when you use it: import OLCesium from 'olcs/OLCesium.js';.
If I remember correctly, OpenLayers was doing something similar with their "ol" npm package.
I have not tested but I suppose this still works (and is the recommended way in the Readme).
Note that import OLCesium from 'olcs'; will not work, which, I suppose, is what you tried in olcs package module path is nonexistent #1062.
It has never worked but I completly agree that it should.
Hi,
What is the difference between the
olcs
package andol-cesium
? I notice they have different SHA hashes.The text was updated successfully, but these errors were encountered: