Separate internal and API methods for the view
This commit is contained in:
@@ -87,7 +87,7 @@ class DragRotateAndZoom extends PointerInteraction {
|
||||
const view = map.getView();
|
||||
if (this.lastAngle_ !== undefined) {
|
||||
const angleDelta = this.lastAngle_ - theta;
|
||||
view.adjustRotation(angleDelta);
|
||||
view.adjustRotationInternal(angleDelta);
|
||||
}
|
||||
this.lastAngle_ = theta;
|
||||
if (this.lastMagnitude_ !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user