Merge branch 'fix_bugs' of https://github.com/antvis/L7 into fix_bugs

This commit is contained in:
thinkinggis 2020-03-26 11:57:52 +08:00
commit 086c5c2a82
1 changed files with 2 additions and 2 deletions

View File

@ -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(