mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-21 23:53:08 +01:00
Fix MBTiles typo MBtils
This commit is contained in:
parent
b320618a7e
commit
4b97538235
@ -53,13 +53,13 @@ class TileSource {
|
||||
}
|
||||
|
||||
this.mode = modes.MBTiles;
|
||||
this.loadMBtils(source);
|
||||
this.loadMBTiles(source);
|
||||
} else {
|
||||
throw new Error('source type isn\'t supported yet');
|
||||
}
|
||||
}
|
||||
|
||||
loadMBtils(source) {
|
||||
loadMBTiles(source) {
|
||||
return new Promise((resolve, reject) => {
|
||||
new MBTiles(source, (err, mbtiles) => {
|
||||
if (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user