ensure scheme in metadata table always be tms
This commit is contained in:
@@ -600,6 +600,9 @@ MBTiles.prototype.putInfo = function(data, callback) {
|
||||
}
|
||||
if (jsondata) stmt.run('json', JSON.stringify(jsondata));
|
||||
|
||||
// Ensure scheme in metadata table always be 'tms'
|
||||
stmt.run('scheme', 'tms');
|
||||
|
||||
var mbtiles = this;
|
||||
stmt.finalize(function(err) {
|
||||
if (err) return callback(err);
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"tape": "~3.0.0",
|
||||
"eslint": "~1.00.0",
|
||||
"eslint": "~1.0.0",
|
||||
"eslint-config-unstyled": "^1.1.0"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
Reference in New Issue
Block a user