-
Notifications
You must be signed in to change notification settings - Fork 33
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
Bring back route direction #1030
Comments
One solution can be some gradient like the following (obviously more subtle): |
I couldn't find a mapbox example to demonstrate this pattern so I'm doubtful it's possible, if you can find an example with this pattern feel free to link it here... |
The current default appearance of a new route does not show the direction clearly. |
100% felt a bit too strong, changed to 90%. |
…to 90%, changed route-layer.factory to routes.factory.
HarelM, you indicated privately that the current solution is not ideal because it covers the appearance of underlying tracks and paths.
|
I'm getting some results, but not as good as I hoped to get: I'm using a
Since I was able to take this image and load it as a sdf image I can use it to create the required color. |
Can you explain what is weird about the spacing? |
How about a semi-transparent line and an occasional arrow of the same color? |
The spec says that the space is in pixels, not icon size. |
|
Thanks! So when the user changes the opacity both the symbol and line opacity should change and when changing width only the line width should change? |
P.S. Can you please upload the svg for artowline here too? |
This however still keeps the current issue of covering the underline map route and its color. Maybe we should use a dash array line with the arrow icons...? |
…nvert to balck and white when needed.
I think it works better than the previous solution. Thanks. |
Also, I think the thickness and opacity values for the routes should carry on from the last edit and not revert to default. If you want to show multiple routes with consistent appearance, it becomes a drag. |
This is not related to this issue. please open a separate issue for this. Default opacity of 30% or 50% doesn't solve the problem of seeing the color below the planned route. I'll see if making it a dash array can solve this and still look OK. If so, I'll close this issue. |
25% shows the colors below well enough. |
Play with the thickness too. I'm all for "form follows function" of course, let's just make sure the solution is not overly complex and distracting. |
My support to raising the thickness range. Also, support valleyofdawn about saving thickness and opacity values from last edit. |
I'll change the width range to be 2-20 instead of 1-10. |
The dash array is reducing the readability of the route in general, I have decided not to use it. |
Feature
Bring back route direction
What I expect to happen
User should be able to identify the route direction without the need to see the route end or start point
What really happened
After #1012 fix there's no more and path and the route is static
What I did that caused the issue - step by step
My environment
Thing I think the developers should know, images, links etc.
Related to: #178, #868 which was used in the past and caused issues...
The text was updated successfully, but these errors were encountered: