s2 vector tile:该库可读写S2 Projection Spec Vector Tiles 源码
s2-vector-tile 关于 使用此骨架创建新模块 # grab the package git clone https://github.com/Regia/s2-vector-tile.git # remove the origin git remote rm origin # download the dependencies yarn 使用范例 const fs = require ( 'fs' ) const VectorTile = require ( './lib' ) . VectorTile const fixture = fs . readFileSync ( './fixtures/14-8801-5371.vector.pbf' ) const tile = new VectorTile ( fixture ) // load the protobuf par
文件列表
s2-vector-tile-master.zip
(预估有个41文件)
s2-vector-tile-master
.gitignore
29B
.babelrc
306B
.flowconfig
83B
package.json
2KB
src
parseTile.js
746B
vectorTile.js
631B
vectorTileLayer.js
2KB
index.js
294B
暂无评论