diff --git a/src/components/map/GoogleMap.svelte b/src/components/map/GoogleMap.svelte index 1c0cc0d..c76eb94 100644 --- a/src/components/map/GoogleMap.svelte +++ b/src/components/map/GoogleMap.svelte @@ -93,6 +93,7 @@ // show the same stop twice on the map if (stop.id != selectedStopID) { addMarker(stop); + pushState(`/stops/${stop.id}`); map.setCenter({ lat: stop.lat, lng: stop.lon }); } }