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

分层矢量切片的加载部分不显示 #71

Open
Frank17008 opened this issue May 21, 2020 · 1 comment
Open

分层矢量切片的加载部分不显示 #71

Frank17008 opened this issue May 21, 2020 · 1 comment

Comments

@Frank17008
Copy link

@dazhi 你好!

我遇到的问题

多个json文件切片后,加载时部分元素显示,部分元素不显示,地图缩放时亦如此,在mapbox studio上显示正常

我遇到的问题截图

  1. 将shp文件转为多个json ,每个json是单独的一层;:
  2. 通过tippecanoe切片为pbf,本地加载, 命令:tippecanoe -e D:/mapBoxGL/PBF/BLDNUMPT -pC -Z0 -z20 -f D:/geojson/BLDNUMPT.json;其他文件转换命令类同,代码加载方式,tiles中类似/pbf/ROAD的路径均使用了nginx代理)

该问题的类别

Web

@Frank17008
Copy link
Author

已解决,sources添加多个即可。

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

1 participant