mobility-toolbox-js 2.0.0-beta.49 → 2.0.0-beta.50

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
@@ -49763,7 +49763,7 @@ uniform ${i3} ${o3} u_${a3};
49763
49763
  super.attachToMap(map);
49764
49764
  if (this.map) {
49765
49765
  this.olListenersKeys.push(...this.map.on(["moveend", "change:target"], (evt) => {
49766
- const view = evt.map.getView();
49766
+ const view = (evt.map || evt.target).getView();
49767
49767
  if (view.getAnimating() || view.getInteracting()) {
49768
49768
  return;
49769
49769
  }