Comparing version 5.2.2 to 5.2.3
@@ -0,1 +1,5 @@ | ||
## 5.2.0 | ||
* Adds serialize/deserialize streams for tilelive copy. | ||
## 5.1.0 | ||
@@ -2,0 +6,0 @@ |
@@ -90,7 +90,12 @@ var sm = new (require('sphericalmercator'))(); | ||
stream.stats.ops++; | ||
if (queued.buffer) { | ||
done(null, queued.buffer); | ||
} else { | ||
stream.source.getTile(z, x, y, done); | ||
} | ||
stream.source.getTile(z, x, y, done); | ||
// Do not repeat buffers in a pyramid fashion for now as | ||
// there are possible false positives in upstream solid | ||
// detection. | ||
// | ||
// if (queued.buffer) { | ||
// done(null, queued.buffer); | ||
// } else { | ||
// stream.source.getTile(z, x, y, done); | ||
// } | ||
return true; | ||
@@ -97,0 +102,0 @@ } else if (stream.cursor) { |
103
package.json
{ | ||
"name": "tilelive", | ||
"version": "5.2.2", | ||
"main": "./lib/tilelive.js", | ||
"description": "API for various map tile backends", | ||
"url": "http://github.com/mapbox/tilelive.js", | ||
"keywords": [ | ||
"map", | ||
"mapnik", | ||
"tiles" | ||
], | ||
"licenses": [ | ||
{ | ||
"type": "BSD" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/mapbox/tilelive.js.git" | ||
}, | ||
"author": { | ||
"name": "Mapbox", | ||
"url": "https://www.mapbox.com/", | ||
"email": "info@mapbox.com" | ||
}, | ||
"contributors": [ | ||
"Tom MacWright <tmcw>", | ||
"Will White <willwhite>", | ||
"Dane Springmeyer <springmeyer>", | ||
"Young Hahn <yhahn>", | ||
"Konstantin Käfer <kkaefer>" | ||
], | ||
"dependencies": { | ||
"minimist": "~0.2.0", | ||
"progress-stream": "~0.5.x", | ||
"sphericalmercator": "~1.0.1" | ||
}, | ||
"devDependencies": { | ||
"tape": "2.13.3", | ||
"mbtiles": "~0.4.3", | ||
"tilejson": "~0.8.0", | ||
"tilelive-http": "^0.3.0" | ||
}, | ||
"bin": { | ||
"tilelive-copy": "./bin/tilelive-copy" | ||
}, | ||
"engines": { | ||
"node": ">= 0.10.0 < 0.11.0" | ||
}, | ||
"scripts": { | ||
"test": "tape test/*.test.js" | ||
"name": "tilelive", | ||
"version": "5.2.3", | ||
"main": "./lib/tilelive.js", | ||
"description": "API for various map tile backends", | ||
"url": "http://github.com/mapbox/tilelive.js", | ||
"keywords": [ | ||
"map", | ||
"mapnik", | ||
"tiles" | ||
], | ||
"licenses": [ | ||
{ | ||
"type": "BSD" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/mapbox/tilelive.js.git" | ||
}, | ||
"author": { | ||
"name": "Mapbox", | ||
"url": "https://www.mapbox.com/", | ||
"email": "info@mapbox.com" | ||
}, | ||
"contributors": [ | ||
"Tom MacWright <tmcw>", | ||
"Will White <willwhite>", | ||
"Dane Springmeyer <springmeyer>", | ||
"Young Hahn <yhahn>", | ||
"Konstantin Käfer <kkaefer>" | ||
], | ||
"dependencies": { | ||
"minimist": "~0.2.0", | ||
"progress-stream": "~0.5.x", | ||
"sphericalmercator": "~1.0.1" | ||
}, | ||
"devDependencies": { | ||
"tape": "2.13.3", | ||
"mbtiles": "~0.4.3", | ||
"tilejson": "~0.8.0", | ||
"tilelive-http": "^0.3.0", | ||
"istanbul": "~0.3.0", | ||
"coveralls": "~2.11.1" | ||
}, | ||
"bin": { | ||
"tilelive-copy": "./bin/tilelive-copy" | ||
}, | ||
"engines": { | ||
"node": ">= 0.10.0 < 0.11.0" | ||
}, | ||
"scripts": { | ||
"test": "tape test/*.test.js", | ||
"cov": "istanbul cover tape test/*.test.js && coveralls < ./coverage/lcov.info" | ||
} | ||
} |
# tilelive.js | ||
[![Coverage Status](https://coveralls.io/repos/mapbox/tilelive.js/badge.png)](https://coveralls.io/r/mapbox/tilelive.js) | ||
- Tilelive is a module to help interactions between tilelive source modules. | ||
@@ -4,0 +6,0 @@ - A tilelive source is an interface implemented by node modules that deal with reading and writing map tiles. |
Sorry, the diff of this file is not supported yet
53946
921
68
6