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);
|
||||
|
||||
Reference in New Issue
Block a user