fix(maps): mapbox drag rotate

This commit is contained in:
weichuankai 2020-07-22 14:51:49 +08:00
parent 2d84d7cbbe
commit 34a3933a09
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ export default class MapboxService
if (option.rotateEnable === false) {
this.map.dragRotate.disable();
}
if (option.dragEnable === true) {
if (option.rotateEnable === true) {
this.map.dragRotate.enable();
}
if (option.keyboardEnable === false) {