-
Notifications
You must be signed in to change notification settings - Fork 34
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
fix: add areaStops
layer support
#722
fix: add areaStops
layer support
#722
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a mock response and handler so we can see how the area could look like.
Do you have an idea of how to do this elegantly? The current mock response is a crazy hack that I'm not eager to recreate/expand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delayed review, it took me a while decide to build an OTP instance with areaStops. It is nice that areas are showing without using too much code. I would reduce the opacity in the layers as indicated, so that map background features remain visible. How/where are circles supposed to be shown?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see refactoring suggestion.
refactor(otp2-tile-overlay): Refactor route color expression.
It's lovely thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks better!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question but otherwise looks all good!
This add support for the new OTP areaStops layer. I feel like implementation is not perfect. Looking for advice