@geops/rvf-mobility-web-component 0.1.70 → 0.1.72

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/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.70",
5
+ "version": "0.1.72",
6
6
  "homepage": "https://rvf-mobility-web-component-geops.vercel.app/",
7
7
  "type": "module",
8
8
  "main": "index.js",
@@ -38,7 +38,7 @@ function MobilityNotifications({
38
38
  graph:
39
39
  "np_topo4,np_topo5,np_topo6,np_topo7,np_topo8,np_topo9,np_topo10,np_topo11,np_topo12,np_topo13,np_topo14,np_topo15,osm",
40
40
  hasGeoms: true,
41
- publicAt: "2025-10-10T10:03:31.650Z",
41
+ publicAt: new Date().toISOString(),
42
42
  })
43
43
  .then((data) => {
44
44
  if (data?.paginatedSituations?.results) {
@@ -25,7 +25,7 @@ import type {
25
25
 
26
26
  const TRACKING_ZOOM = 16;
27
27
 
28
- const useGraphs = window.location?.href?.includes("graphs=true");
28
+ const useGraphs = true; //;window.location?.href?.includes("graphs=true");
29
29
 
30
30
  function RealtimeLayer(props: Partial<RealtimeLayerOptions>) {
31
31
  const {
@@ -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
  }
@@ -1,2 +0,0 @@
1
- {
2
- }
package/.yarnrc.yml DELETED
@@ -1 +0,0 @@
1
- nodeLinker: node-modules