We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cesium版本:1.114 iClient3D-for-WebGL版本:最新
/** * 销毁地图代码 */ export function viewerDestroy(viewer){ if(viewer){ // @ts-ignore let _originalGLContext = viewer.scene?.context._originalGLContext; try{ viewer.entities.removeAll(); viewer.imageryLayers.removeAll(); viewer.dataSources.removeAll(); viewer.destroy(); }catch (e) { console.error(e); } if(_originalGLContext){ _originalGLContext.getExtension("WEBGL_lose_context").loseContext(); _originalGLContext = null; } } }
错误信息
The text was updated successfully, but these errors were encountered:
在对应的加上代码上Cesium.defined就好
Sorry, something went wrong.
No branches or pull requests
cesium版本:1.114
iClient3D-for-WebGL版本:最新
错误信息
The text was updated successfully, but these errors were encountered: