0.1.14 tag with template key

This commit is contained in:
Tom MacWright
2011-10-12 17:14:56 -04:00
parent 9ad3c29b0a
commit 3ba458a58d
3 changed files with 7 additions and 3 deletions

View File

@@ -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);