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 +2 -2
- package/mbt.js.map +2 -2
- package/mbt.min.js +1 -1
- package/mbt.min.js.map +2 -2
- package/ol/layers/RealtimeLayer.js +2 -2
- package/package.json +1 -1
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 =
|
|
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
|
}
|