Fix issues from code review

feature/web-workers-polygons-memory
Robin Hawkes 2016-09-01 17:09:40 +01:00
rodzic 983704fd2e
commit 2094265244
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 1EC4C2D6765FA8CF
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -208,8 +208,7 @@ class Orbit extends EventEmitter {
// Add controls to world instance and store world reference
addTo(world) {
world.addControls(this);
return Promise.resolve(this);
return world.addControls(this);
}
// Internal method called by World.addControls to actually add the controls

Wyświetl plik

@ -86,6 +86,8 @@ class GeoJSONLayer extends LayerGroup {
// Clear request reference
this._request = null;
reject(err);
});
});
}