1. 首页
  2. 数据库
  3. 其它
  4. s2 vector tile:该库可读写S2 Projection Spec Vector Tiles 源码

s2 vector tile:该库可读写S2 Projection Spec Vector Tiles 源码

上传者: 2021-05-05 04:30:19上传 ZIP文件 204.38KB 热度 6次
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
下载地址
用户评论