noahflk/railtrack

Improve performance of Journey Map by not rendering duplicate lines

noahflk opened this issue · 1 comments

Currently we render every single journey in the src/components/Map.tsx component. However, there can be cases when one journey (say Basel - Zurich with the exact same stop) appears numerous times. In those cases we should remove the duplicate coordinates from the map view and only render them once.

is this fixed?