0.1.14 tag with template key
This commit is contained in:
@@ -629,8 +629,8 @@ MBTiles.prototype.putInfo = function(data, callback) {
|
||||
if (!this._isWritable) return callback(new Error('MBTiles not in write mode'));
|
||||
|
||||
// Valid keys.
|
||||
var keys = [ 'name', 'type', 'description', 'version', 'formatter',
|
||||
'bounds', 'center', 'minzoom', 'maxzoom', 'legend', 'attribution' ];
|
||||
var keys = ['name', 'type', 'description', 'version', 'formatter', 'template',
|
||||
'bounds', 'center', 'minzoom', 'maxzoom', 'legend', 'attribution'];
|
||||
|
||||
var stmt = this._db.prepare('REPLACE INTO metadata (name, value) VALUES (?, ?)');
|
||||
stmt.on('error', callback);
|
||||
|
||||
Reference in New Issue
Block a user