mirror of https://gitee.com/antv-l7/antv-l7
Merge branch 'master' of https://github.com/antvis/L7
This commit is contained in:
commit
2cc5976144
|
@ -44,7 +44,9 @@ export default class Control extends EventEmitter {
|
|||
name: `${controlId++}`,
|
||||
};
|
||||
}
|
||||
|
||||
public setPosition(position: PositionName = 'bottomright') {
|
||||
|
||||
// 考虑组件的自动布局,需要销毁重建
|
||||
const controlService = this.controlService;
|
||||
if (controlService) {
|
||||
|
|
Loading…
Reference in New Issue