mirror of https://gitee.com/antv-l7/antv-l7
fix(maps): mapbox drag rotate
This commit is contained in:
parent
2d84d7cbbe
commit
34a3933a09
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue