mobility-toolbox-js 2.0.0-beta.40 → 2.0.0-beta.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/mbt.js CHANGED
@@ -49621,8 +49621,8 @@ uniform ${i3} ${o3} u_${a3};
49621
49621
  attachToMap(map) {
49622
49622
  super.attachToMap(map);
49623
49623
  if (this.map) {
49624
- this.olListenersKeys.push(this.map.on(["moveend", "change:target"], (evt) => {
49625
- const view = this.map.getView();
49624
+ this.olListenersKeys.push(...this.map.on(["moveend", "change:target"], (evt) => {
49625
+ const view = evt.map.getView();
49626
49626
  if (view.getAnimating() || view.getInteracting()) {
49627
49627
  return;
49628
49628
  }