-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
Draw routes more clearly when unzoomed on large maps #1131
Comments
So I added more contrast so that the road structure is easier to see For the colors, I do as follow :
Here is the result for night : But still a mess when many roads. Example with a more european style Over the colors, is it only a cosmetic issue ? What are the use cases and problems related ? |
These're indeed much easier to see! I just realized, are you working in the traffic simulation mode, or Ungap the Map? The "next steps" you linked is for the latter, so I've been assuming that so far. The styling / usability problems are different for different tools. In Ungap the Map, the main view's job is to highlight 4 categories of cycle infrastructure: The original problem mentioned in the "next steps" was in some of the other modes of Ungap the Map. The animation at https://a-b-street.github.io/docs/software/ungap_the_map/user_guide.html#planning-a-trip shows one problem pretty well -- as soon as you zoom out, seeing the main and alternative routes are both not easy. And then in the next mode https://a-b-street.github.io/docs/software/ungap_the_map/user_guide.html#creating-new-bike-lanes, the same problem again, but maybe even worse, since the user is supposed to drag the route waypoints around. You can add Any ideas for this tool particularly? |
For the ideas, yes several (some things I say will resonate with the two problems you described) :
Both actually. Lines are better than colors but quickly limited to density, when the color contrast can keep something thin but easy to see It's a bunch of points that can be debated ^^ |
I pretty much agree with all of these ideas! I haven't thought through how hard it'd be to implement some of these ideas yet.
Agreed, it's quite laggy. Using a separate thread is tough because everything needs to run natively (easy, can use one of the stdlib channels probably or similar) and in WASM (hard, because we need web workers, and getting this set up properly is a headache I haven't fought through yet). A related idea I've never tried is to rate-limit requests while dragging. We could measure the time to calculate a route and while the drag is ongoing, if that time exceeds some threshold, skip. Still would need some kind of timer to try the update after that timeout passes -- in case the user keeps the mouse held down but stops moving. None of this will be particularly nice to wire into |
Hello, I would like to give a look to this issue found here (https://a-b-street.github.io/docs/software/ungap_the_map/plan.html#next-steps) and need some guidances
Are those map a good example of the problem ?
Do you have some constraints ? I think to first play with colors
The text was updated successfully, but these errors were encountered: