tanxj

创建项目

我使用的是Vue CLI3,具体创建不再赘述,网上教程很多

 

下载SuperMap iClient3D for WebGL产品包

链接:http://support.supermap.com.cn:8090/webgl/download.html

将包中的Cesium文件夹解压出来,放到项目中public文件夹下

 

 

引入到项目中

在public文件夹下的index.html中引入Cesium.js和widgets.css

<script src="./Cesium/Cesium.js" type="text/javascript"</script>
<link type="text/css" rel="stylesheet" href="./Cesium/Widgets/widgets.css" />

 

 

使用

 

 

 

 

效果

 

分类:

技术点:

相关文章: