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
I'm trying to integrate ol-cesium with ngx-openlayers to my project and I encounter an unexpected error when calling setEnabled from OLcesium :
TypeError: e.isDef is not a function
at e.t.throwOnUnitializedMap_ (olcesium.umd.js:1)
at e.t.setEnabled (olcesium.umd.js:1)
at AppComponent.push../src/app/app.component.ts.AppComponent.init3dGlobe (app.component.ts:65)
at AppComponent.push../src/app/app.component.ts.AppComponent.switch3DMode (app.component.ts:54)
at Object.eval [as handleEvent] (AppComponent.html:1)
at handleEvent (core.js:23106)
at callWithDebugContext (core.js:24176)
at Object.debugHandleEvent [as handleEvent] (core.js:23903)
at dispatchEvent (core.js:20555)
at core.js:21002
ngx-openlayers uses openlayers 4.4.2 but ol-cesium 2.8.0 uses ol 6.0.0-beta.3 ("ol", not old named "openlayers")
I can't find right version of ngx-openlayers to deal correctly with quite recent ol-cesium.
Hello,
I'm trying to integrate
ol-cesium
withngx-openlayers
to my project and I encounter an unexpected error when callingsetEnabled
fromOLcesium
:Here is my versions
ngx-openlayers
usesopenlayers 4.4.2
butol-cesium 2.8.0
usesol 6.0.0-beta.3
("ol", not old named "openlayers")I can't find right version of
ngx-openlayers
to deal correctly with quite recentol-cesium
.Here is the minimal project which reproduce the error: https://github.com/Dji75/temp-ol-cesium
I'm stuck for days, thanks to help me or give me advice I can follow to find my way :)
Thanks
The text was updated successfully, but these errors were encountered: