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

@@ -1,3 +1,7 @@
# 0.1.14
- Allows `template` key in `metadata` table.
# 0.1.0
- Modified interface to conform to Tilesource interface:

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

View File

@@ -1,6 +1,6 @@
{
"name": "mbtiles",
"version": "0.1.13",
"version": "0.1.14",
"description": "Utilities and tilelive integration for the MBTiles format.",
"url": "http://github.com/mapbox/node-mbtiles",
"author": {