添加mvt矢量瓦片报错,代码如下
var url = "http://www.supermapol.com/realspace/services/map-mvt-JingJinDiQuDiTu/restjsr/v1/vectortile/maps/%E4%BA%AC%E6%B4%A5%E5%9C%B0%E5%8C%BA%E5%9C%B0%E5%9B%BE";
var mvtMap = scene.addVectorTilesMap({
url: url,
canvasWidth: 512,
name: 'testMVT',
viewer: viewer
});
报错如下:
An error occurred while rendering. Rendering has stopped.
Error: failed to invert matrix
Error: failed to invert matrix
at _0x579531._calcMatrices (http://127.0.0.1:5173/static/libs/Build/Cesium/Cesium.js:187:1145300)
at set zoom [as zoom] (http://127.0.0.1:5173/static/libs/Build/Cesium/Cesium.js:187:1138710)
at M$10.update (http://127.0.0.1:5173/static/libs/Build/Cesium/Cesium.js:187:1163199)
at Pr (http://127.0.0.1:5173/static/libs/Build/Cesium/Cesium.js:293:4042807)
at Qe (http://127.0.0.1:5173/static/libs/Build/Cesium/Cesium.js:293:4039050)
at je (http://127.0.0.1:5173/static/libs/Build/Cesium/Cesium.js:293:4035364)
at rn (http://127.0.0.1:5173/static/libs/Build/Cesium/Cesium.js:293:4050624)
at nt$2 (http://127.0.0.1:5173/static/libs/Build/Cesium/Cesium.js:293:4051274)
at M$4.render (http://127.0.0.1:5173/static/libs/Build/Cesium/Cesium.js:293:4053206)
at p.render (http://127.0.0.1:5173/static/libs/Build/Cesium/Cesium.js:369:676798)