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));
|
if (jsondata) stmt.run('json', JSON.stringify(jsondata));
|
||||||
|
|
||||||
|
// Ensure scheme in metadata table always be 'tms'
|
||||||
|
stmt.run('scheme', 'tms');
|
||||||
|
|
||||||
var mbtiles = this;
|
var mbtiles = this;
|
||||||
stmt.finalize(function(err) {
|
stmt.finalize(function(err) {
|
||||||
if (err) return callback(err);
|
if (err) return callback(err);
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tape": "~3.0.0",
|
"tape": "~3.0.0",
|
||||||
"eslint": "~1.00.0",
|
"eslint": "~1.0.0",
|
||||||
"eslint-config-unstyled": "^1.1.0"
|
"eslint-config-unstyled": "^1.1.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
Reference in New Issue
Block a user