0.1.14 tag with template key
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
# 0.1.14
|
||||
|
||||
- Allows `template` key in `metadata` table.
|
||||
|
||||
# 0.1.0
|
||||
|
||||
- Modified interface to conform to Tilesource interface:
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user