kopia lustrzana https://github.com/robhawkes/vizicities
Fix issues from code review
rodzic
983704fd2e
commit
2094265244
|
@ -208,8 +208,7 @@ class Orbit extends EventEmitter {
|
||||||
|
|
||||||
// Add controls to world instance and store world reference
|
// Add controls to world instance and store world reference
|
||||||
addTo(world) {
|
addTo(world) {
|
||||||
world.addControls(this);
|
return world.addControls(this);
|
||||||
return Promise.resolve(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Internal method called by World.addControls to actually add the controls
|
// Internal method called by World.addControls to actually add the controls
|
||||||
|
|
|
@ -86,6 +86,8 @@ class GeoJSONLayer extends LayerGroup {
|
||||||
|
|
||||||
// Clear request reference
|
// Clear request reference
|
||||||
this._request = null;
|
this._request = null;
|
||||||
|
|
||||||
|
reject(err);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue