geosolutions-it / MapStore2

The solution to create and share maps, dashboards, geostories with 3D support on the web. And it is open-source too!
https://mapstore.geosolutionsgroup.com/
Other
515 stars 403 forks source link

Error in 3D when terrain is available #7661

Open offtherailz opened 2 years ago

offtherailz commented 2 years ago

Description

An error occours when we try to use a BIL terrain model. QA and STABLE doesn't seems to be affected. https://dev-mapstore.geosolutionsgroup.com/mapstore/#/context/dem3d

https://qa-mapstore.geosolutionsgroup.com/mapstore/#/context/dem3d

How to reproduce

Expected Result You see the dem (screenshot from qa, same tested on stable) image

Current Result Error:

An error occurred while rendering. Rendering has stopped.
TypeError: e.throttleRequestByServer is not a function
TypeError: e.throttleRequestByServer is not a function
    at Object.e.when.e.defined.t.ready.e.defined.t.getHeightmapTerrainDataArray (https://dev-mapstore.geosolutionsgroup.com/mapstore/dist/mapstore2.js?c3654326ac83b2bb94d2:2:1165814)
    at n.e.when.e.defined.t.ready.s.requestTileGeometry (https://dev-mapstore.geosolutionsgroup.com/mapstore/dist/mapstore2.js?c3654326ac83b2bb94d2:2:1166618)
    at m (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:537:25427)
    at g (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:537:25540)
    at m.processLoadStateMachine (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:537:27192)
    at E (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:537:29606)
    at Function.b.processStateMachine (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:538:3135)
    at q.loadTile (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:539:2107)
    at M (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:539:20873)
    at O (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:539:20715)
    at v.endFrame (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:539:24117)
    at D.endFrame (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:539:30718)
    at lt (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:545:6397)
    at ut (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:545:6472)
    at Te.render (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:545:14657)
    at P.render (https://cesium.com/downloads/cesiumjs/releases/1.42/Build/Cesium/Cesium.js:557:8739)
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users) | Browser Affected | Version | |---|---| |Internet Explorer| | |Edge| | |Chrome| | |Firefox| | |Safari| |

Other useful information

context.zip

MV88 commented 2 years ago

@tdipisa please add here info related to the proxy update

tdipisa commented 2 years ago

@MV88 https://github.com/geosolutions-it/MapStore2/pull/7831#issuecomment-1060879031

tdipisa commented 2 years ago

@ElenaGallo I'm going to reopen this because, due to this, I would like to test it again with the new http-proxy version after #7950 is resolved.