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(transit-vehicle-overlay): Add optional per-vehicle color #458

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mcleinman
Copy link

Allow optional per-vehicle colors in transit-vehicle-overlay. This is not a breaking change; it will continue to default to the color provided to the entire object if a vehicle does not have a valid color. I also updated one of the stories to show this new functionality.

This is similar to #442. We're likely going to update to a non-raster-tiles version, so we need this functionality in the main branch as well.

@binh-dam-ibigroup
Copy link
Collaborator

Allow optional per-vehicle colors in transit-vehicle-overlay.

Hi @mcleinman, thanks for this PR. By curiosity, could you provide a clarification of what the highlight color on one vehicle, but not others on the same transit route, is intended to mean? Thank you!

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.

None yet

2 participants