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

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.
@@ -100,8 +100,8 @@ class RealtimeLayer extends mixin(Layer) {
100
100
  attachToMap(map) {
101
101
  super.attachToMap(map);
102
102
  if (this.map) {
103
- this.olListenersKeys.push(this.map.on(['moveend', 'change:target'], (evt) => {
104
- const view = this.map.getView();
103
+ this.olListenersKeys.push(...this.map.on(['moveend', 'change:target'], (evt) => {
104
+ const view = evt.map.getView();
105
105
  if (view.getAnimating() || view.getInteracting()) {
106
106
  return;
107
107
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "mobility-toolbox-js",
3
3
  "license": "MIT",
4
4
  "description": "Toolbox for JavaScript applications in the domains of mobility and logistics.",
5
- "version": "2.0.0-beta.40",
5
+ "version": "2.0.0-beta.43",
6
6
  "main": "index.js",
7
7
  "exports": {
8
8
  ".": "./index.js",