mobility-toolbox-js 3.0.1-beta.3 → 3.0.1-beta.4
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 +3 -0
- package/mbt.js.map +2 -2
- package/mbt.min.js +1 -1
- package/mbt.min.js.map +2 -2
- package/ol/layers/RealtimeLayer.js +4 -0
- package/package.json +1 -1
package/mbt.js
CHANGED
|
@@ -47449,6 +47449,9 @@ uniform ${i3} ${a3} u_${s3};
|
|
|
47449
47449
|
this.engine.start();
|
|
47450
47450
|
}
|
|
47451
47451
|
const index = mapInternal.getLayers().getArray().indexOf(this);
|
|
47452
|
+
if (this.vectorLayer.getMapInternal() === mapInternal) {
|
|
47453
|
+
this.getMapInternal()?.removeLayer(this.vectorLayer);
|
|
47454
|
+
}
|
|
47452
47455
|
mapInternal.getLayers().insertAt(index, this.vectorLayer);
|
|
47453
47456
|
this.olEventsKeys.push(
|
|
47454
47457
|
...mapInternal.on(
|