mirror of https://gitee.com/antv-l7/antv-l7
Merge branch 'fix_bugs' of https://github.com/antvis/L7 into fix_bugs
This commit is contained in:
commit
086c5c2a82
|
@ -73,7 +73,7 @@ export default class Zoom extends Control {
|
|||
!this.disabled &&
|
||||
this.mapsService.getZoom() < this.mapsService.getMaxZoom()
|
||||
) {
|
||||
this.mapsService.zoomIn({});
|
||||
this.mapsService.zoomIn();
|
||||
}
|
||||
}
|
||||
private zoomOut() {
|
||||
|
@ -81,7 +81,7 @@ export default class Zoom extends Control {
|
|||
!this.disabled &&
|
||||
this.mapsService.getZoom() > this.mapsService.getMinZoom()
|
||||
) {
|
||||
this.mapsService.zoomOut({});
|
||||
this.mapsService.zoomOut();
|
||||
}
|
||||
}
|
||||
private createButton(
|
||||
|
|
Loading…
Reference in New Issue