Fix MBTiles typo MBtils

This commit is contained in:
Christian Paul 2018-11-19 00:29:22 -08:00
parent b320618a7e
commit 4b97538235

View File

@ -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) {