mirror of
https://github.com/BlueMap-Minecraft/BlueMapWeb.git
synced 2024-11-16 23:25:10 +01:00
Switch to tiles with added wrapper-object for future additional data
This commit is contained in:
parent
d703a3cf39
commit
3f3dfc78bd
@ -60,7 +60,8 @@ export class TileLoader {
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
this.fileLoader.load(tileUrl + '?' + this.tileCacheHash,
|
||||
geometryJson => {
|
||||
json => {
|
||||
let geometryJson = json.tileGeometry;
|
||||
if (!geometryJson.type || geometryJson.type !== 'BufferGeometry'){
|
||||
reject({status: "empty"});
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user