Add toString method.
This commit is contained in:
@@ -66,6 +66,10 @@ function MBTiles(uri, callback) {
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MBTiles.prototype.toString = function() {
|
||||||
|
return '[MBTiles ' + this.filename + ']';
|
||||||
|
}
|
||||||
|
|
||||||
MBTiles.prototype._open = function(uri) {
|
MBTiles.prototype._open = function(uri) {
|
||||||
var mbtiles = this;
|
var mbtiles = this;
|
||||||
function error(err) {
|
function error(err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user