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
HELP i load the module and i use : const ol3d = new OLCesium({ map: map }); // ol2dMap is the ol.Map instance
ol3d.setEnabled(true); but the complier give me this error :
./node_modules/olcs/OLCesium.js 51:18
Module parse failed: Unexpected token (51:18)
File was processed with these loaders:
./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| */
| class OLCesium {
autoRenderLoop_ = null;
| map_;
| time_;
The text was updated successfully, but these errors were encountered:
Hi @luca-moscatelli and @trinizz84 , maybe that was caused by some typescript files being present in some OL-Cesium release. Could you try with the latest release?
Ran into this issue with olcs 2.15.2 on oskariorg/oskari-frontend#2406. Someone suggested to try the ol-cesium package instead (#1094 (comment)), but this says it will be removed in the future: #1096. Just changing it to ol-cesium seemed to fix this problem, but gave some new ones from cesium :)
HELP i load the module and i use : const ol3d = new OLCesium({ map: map }); // ol2dMap is the ol.Map instance
ol3d.setEnabled(true); but the complier give me this error :
./node_modules/olcs/OLCesium.js 51:18
Module parse failed: Unexpected token (51:18)
File was processed with these loaders:
You may need an additional loader to handle the result of these loaders.
| */
| class OLCesium {
The text was updated successfully, but these errors were encountered: