chore: remove unused class
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
07b0f8b306
commit
b2733e2107
1 changed files with 0 additions and 13 deletions
13
src/main.js
13
src/main.js
|
|
@ -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) => {
|
||||
console.log(`[INFO] Automatically creating config file for ${pmtilesFile}`);
|
||||
console.log(`[INFO] Only a basic preview style will be used.`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue