chore: remove unused class

Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
Andrew Calcutt 2023-10-07 20:11:03 -04:00
parent 07b0f8b306
commit b2733e2107

View file

@ -80,19 +80,6 @@ const startServer = (configPath, config) => {
}); });
}; };
var PMTilesLocalSource = class {
constructor(file) {
this.file = file;
}
getKey() {
return this.file.name;
}
async getBytes(offset, length) {
const blob = this.file.slice(offset, offset + length);
return { data: blob };
}
};
const startWithPMTiles = async (pmtilesFile) => { const startWithPMTiles = async (pmtilesFile) => {
console.log(`[INFO] Automatically creating config file for ${pmtilesFile}`); console.log(`[INFO] Automatically creating config file for ${pmtilesFile}`);
console.log(`[INFO] Only a basic preview style will be used.`); console.log(`[INFO] Only a basic preview style will be used.`);