Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: vertical tabs, vehicle visibility and preds format settings. #40

Merged
merged 4 commits into from
Oct 17, 2023

Conversation

morganney
Copy link
Owner

No description provided.

@@ -75,6 +75,7 @@ const BusSelector = memo(function BusSelector({ agencies }: BusSelectorProps) {
enabled: Boolean(agency) && Boolean(routeName),
onSuccess(data) {
dispatch({ type: 'route', value: data })
vehiclesDispatch({ type: 'set', value: undefined })
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise the map's vehicle layer would keep adding markers as users changed routes within the same agency, i.e. this has the side effect of clearing the map's vehicle marker layer.

@morganney morganney merged commit a880a51 into main Oct 17, 2023
1 check passed
@morganney morganney deleted the develop branch October 17, 2023 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant