tile-generator:在bbox中生成图块流

时间:2021-05-15 06:41:05
【文件属性】:
文件名称:tile-generator:在bbox中生成图块流
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-15 06:41:05
JavaScript 从边界框生成XYZ拼贴流。 安装 npm install tile-generator 用法 var tileGenerator = require ( 'tile-generator' ) ; var tiles = [ ] ; tileGenerator ( 12 , [ 0 , 30 , 5 , 35 ] ) . on ( 'data' , function ( tile ) { tiles . push ( tile ) ; } ) . on ( 'end' , function ( ) { console . log ( JSON . stringify ( tiles ) ; } ) ; tile-generator还可以为整个世界生成一个tile流( [-180, -85, 180, 85] ): var tileGenerator =
【文件预览】:
tile-generator-master
----.eslintrc(160B)
----LICENSE.txt(746B)
----bench.js(901B)
----test.js(1KB)
----README.md(672B)
----tile-generator(1KB)
----.gitignore(15B)
----index.js(1KB)
----package.json(791B)

网友评论