Skip to content

Commit

Permalink
chore: linting and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmedhossamdev committed Jan 4, 2025
1 parent fb93d87 commit c66f065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/Provider/OpenStreetMapProvider.svelte.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,12 @@ export default class OpenStreetMapProvider {
lastUpdateTime: vehicleStatus.lastUpdateTime,
nextStopName: this.stopsMap.get(vehicleStatus.nextStop)?.name || 'N/A',
predicted: vehicleStatus.predicted
})
});

marker.vehicleData = vehicleData;

if (marker.isPopupOpen() && marker.popupComponent) {
marker.popupComponent = vehicleData
marker.popupComponent = vehicleData;
}
}
removeVehicleMarker(marker) {
Expand Down

0 comments on commit c66f065

Please sign in to comment.