fix: resize

This commit is contained in:
thinkinggis 2020-07-21 11:54:35 +08:00
parent 5e03328d82
commit 16310626b0
1 changed files with 1 additions and 0 deletions

View File

@ -288,6 +288,7 @@ export default class Scene extends EventEmitter implements ISceneService {
// @ts-check
if (this.$container) {
this.initContainer();
DOM.triggerResize();
this.coordinateSystemService.needRefresh = true;
// repaint layers