Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chunlaw committed Jan 17, 2024
2 parents 594a339 + 5ca47bf commit 04b2c96
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/route-eta/RouteMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,14 @@ const StopMarker = ({ active, passed, companies }: StopMarkerProps) => {
active ? classes.active : ""
} ${passed ? classes.passed : ""}`,
});
} else if (companies.includes("lightRail")) {
return Leaflet.divIcon({
iconSize: [20, 20],
iconAnchor: [10, 10],
className: `${classes.mtrMarker} ${classes.marker} ${
active ? classes.active : ""
} ${passed ? classes.passed : ""}`,
});
} else if (companies[0].startsWith("gmb")) {
return Leaflet.divIcon({
iconSize: [30, 30],
Expand Down

0 comments on commit 04b2c96

Please sign in to comment.