Remove some of the static members from Interaction
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
import {inherits} from '../index.js';
|
||||
import ViewHint from '../ViewHint.js';
|
||||
import {FALSE} from '../functions.js';
|
||||
import Interaction from '../interaction/Interaction.js';
|
||||
import Interaction, {rotate} from '../interaction/Interaction.js';
|
||||
import PointerInteraction, {centroid as centroidFromPointers} from '../interaction/Pointer.js';
|
||||
import {disable} from '../rotationconstraint.js';
|
||||
|
||||
@@ -132,8 +132,7 @@ function handleUpEvent(mapBrowserEvent) {
|
||||
view.setHint(ViewHint.INTERACTING, -1);
|
||||
if (this.rotating_) {
|
||||
const rotation = view.getRotation();
|
||||
Interaction.rotate(
|
||||
view, rotation, this.anchor_, this.duration_);
|
||||
rotate(view, rotation, this.anchor_, this.duration_);
|
||||
}
|
||||
return false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user