Windshaft-cartodb/lib/backends/layer-stats/torque-layer-stats.js

19 lines
360 B
JavaScript
Raw Normal View History

'use strict';
2019-10-22 01:07:24 +08:00
function TorqueLayerStats () {
this._types = {
torque: true
};
}
TorqueLayerStats.prototype.is = function (type) {
return this._types[type] ? this._types[type] : false;
};
TorqueLayerStats.prototype.getStats =
function (layer, dbConnection, callback) {
return callback(null, {});
};
module.exports = TorqueLayerStats;