Skip to content

Commit 8831f78

Browse files
committed
Pass stop time through
1 parent 3fd4096 commit 8831f78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/Provider/GoogleMapProvider.svelte.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export default class GoogleMapProvider {
123123

124124
this.stopsMap.set(stop.id, stop);
125125

126-
marker.addListener('click', () => this.openStopMarker(stop));
126+
marker.addListener('click', () => this.openStopMarker(stop, stopTime));
127127

128128
this.markersMap.set(stop.id, marker);
129129
this.stopMarkers.push(marker);

src/lib/Provider/OpenStreetMapProvider.svelte.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export default class OpenStreetMapProvider {
154154

155155
this.stopsMap.set(stop.id, stop);
156156

157-
marker.on('click', () => this.openStopMarker(stop));
157+
marker.on('click', () => this.openStopMarker(stop, stopTime));
158158

159159
this.stopMarkers.push(marker);
160160
}

0 commit comments

Comments
 (0)