MikesWei / CesiumVectorTile

Cesium VectorTileImageryProvider支持小数据量的geojson、shape文件 矢量 动态切片,实现贴地
https://mikeswei.github.io/CesiumVectorTile/
Apache License 2.0
412 stars 160 forks source link

"start": "mesh3d start -p=8023", #30

Open Jeffpxf opened 2 years ago

Jeffpxf commented 2 years ago

"scripts": { "start": "mesh3d start -p=8023", "build": "node src/bundle.js", "prepublishOnly": "npm run build" }, mesh3d是啥命令?

MikesWei commented 2 years ago

mesh3d是我团队内部的开发工具命令,可以忽略。如果是开发调试,把index.html里面引用的index-m.js改为index.js即可

Jeffpxf commented 2 years ago

按照您说的,进行修改后,将整个项目放入nginx目录下,调用,浏览器出现以下情况: index.js:102 TypeError: VectorTileImageryProvider is not a constructor at index.js:40:37 index.js:121 Uncaught (in promise) TypeError: VectorTileImageryProvider is not a constructor at index.js:121:32

环境配置如下: windows11 node v16.16.0 IDE vscode