Im trying to handle Rotation and Zoom interactions.
Is it possible to create one listener for all interactions created by DragRotateAndZoom
?
...
interactions: defaultInteractions().extend([
new DragRotateAndZoom()
]),
...
Is there any way to use something like
this.map.on('rotate', (e) => {
console.log(e);
});
OR
this.map.on('zoom', (e) => {
console.log(e);
});
found an solution for an old version (7 years old!) -> Javascript OpenLayers before zoom event listener