step
,underscore
,optimist
dependencies removed.- Tests upgraded to use
mocha
. - Commands removed.
_metadata
now returns null if the metadata table or the requested field is missing.
- Allows
template
key inmetadata
table.
- Modified interface to conform to Tilesource interface:
tile(x, y, z, callback)
is nowgetTile(z, x, y, callback)
. Note the changed order of arguments.grid(x, y, z, callback)
is nowgetGrid(z, x, y, callback)
. Note the changed order of arguments.- Added
getInfo(callback)
method.
- Removed
index.js
withpool
,serve
andstore
functions. - MBTiles objects now create their databases as a singleton. There's no need to add additional pooling around MBTiles objects; you can create as many as you want.
- The constructor now takes Tilesource URIs (e.g. mbtiles:///path/to/file.mbtiles) as strings and parsed URIs as a hash.