You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I use the maplibregl adapter and set dragRotate:false. When I drag the map by right mouse button, dragRotate was enabled unexpectedly. I think the problem is from the following function, dragRotate and dragPan should keep the original setting if enabled is true.
/** * Enables or disables the draggable functionality of the map. * @param enabled Set to true to enable map dragging, or false to disable it. */publicsetDraggability(enabled: boolean){if(enabled){// Mapbox GL has both drag rotation and drag panning interactions// hence having to enable/disable boththis._map.dragRotate.enable();this._map.dragPan.enable();}else{this._map.dragRotate.disable();this._map.dragPan.disable();}}
Terra Draw npm version
1.0.0-beta.8
The text was updated successfully, but these errors were encountered:
Describe the bug
I use the maplibregl adapter and set
dragRotate:false
. When I drag the map by right mouse button,dragRotate
was enabled unexpectedly. I think the problem is from the following function,dragRotate
anddragPan
should keep the original setting if enabled is true.Terra Draw npm version
1.0.0-beta.8
The text was updated successfully, but these errors were encountered: