@geops/rvf-mobility-web-component 0.1.70 → 0.1.71
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/CHANGELOG.md +7 -0
- package/index.js +31 -31
- package/package.json +1 -1
- package/src/RealtimeLayer/RealtimeLayer.tsx +1 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@geops/rvf-mobility-web-component",
|
|
3
3
|
"license": "UNLICENSED",
|
|
4
4
|
"description": "Web components for rvf in the domains of mobility and logistics.",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.71",
|
|
6
6
|
"homepage": "https://rvf-mobility-web-component-geops.vercel.app/",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "index.js",
|
|
@@ -243,6 +243,7 @@ function RealtimeLayer(props: Partial<RealtimeLayerOptions>) {
|
|
|
243
243
|
setStopSequence(null);
|
|
244
244
|
if (trainId && layer) {
|
|
245
245
|
layer.api?.unsubscribeStopSequence(trainId);
|
|
246
|
+
layer.api?.unsubscribeFullTrajectory(layer.selectedVehicleId);
|
|
246
247
|
layer.selectedVehicleId = null;
|
|
247
248
|
layer.vectorLayer.getSource().clear();
|
|
248
249
|
}
|