Skip to content
New issue

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

CesiumVectorTile插件使用 #16

Open
ShangXiaoYun opened this issue Dec 13, 2021 · 1 comment
Open

CesiumVectorTile插件使用 #16

ShangXiaoYun opened this issue Dec 13, 2021 · 1 comment

Comments

@ShangXiaoYun
Copy link

ShangXiaoYun commented Dec 13, 2021

您好,感谢分享。我看您矢量切片工具demo中,是通过引入插件的编译文件CesiumVectorTile.min.js完成的。我按照您的方法,最后报错:
Uncaught ReferenceError: VectorTileImageryProvider is not defined

我想请问我的问题出在哪里?应该如何改正?
我使用的版本是 cesium-1.87.1源码版,源码太大不方便上传,我把需要写的demo压缩传上来。
demo是文件夹demops下的vectorTile.html。希望得到您的回复,谢谢!
demops.zip

@YanzheZhang
Copy link
Owner

包引入问题,先试下index.html中直接引入是否报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants