Merge branch 'master' of github.com:mapbox/node-mbtiles into tilelive-refactoring
Conflicts: lib/mbtiles.js
This commit is contained in:
+1
-1
@@ -275,8 +275,8 @@ MBTiles.prototype.grid = function(x, y, z, callback) {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
function(err, row, rows) {
|
function(err, row, rows) {
|
||||||
|
if ((!row || !row.grid) || (err && err.errno == 1)) return callback('Grid does not exist');
|
||||||
if (err) return callback(err);
|
if (err) return callback(err);
|
||||||
if (!row || !row.grid) return callback(new Error('Grid does not exist'));
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var grid = zlib.inflate(
|
var grid = zlib.inflate(
|
||||||
|
|||||||
Vendored
BIN
Binary file not shown.
Reference in New Issue
Block a user