17 lines
363 B
JavaScript
17 lines
363 B
JavaScript
function EmptyLayerStats(types) {
|
|
this._types = types || {};
|
|
}
|
|
|
|
EmptyLayerStats.prototype.is = function (type) {
|
|
return this._types[type] ? this._types[type] : false;
|
|
};
|
|
|
|
EmptyLayerStats.prototype.getStats =
|
|
function (layer, dbConnection, callback) {
|
|
setImmediate(function() {
|
|
callback(null, {});
|
|
});
|
|
};
|
|
|
|
module.exports = EmptyLayerStats;
|