a-b-street / a-b-street/abstreet

LTN tool, possible improvements to displaying turn-restrictions

未关闭
#1,096 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
ltn
主要语言
Rust
星标
8.2k
派生
380
PR 合并指标
30 天内没有已合并 PR

描述

Some ideas for improving the display of turn restrictions within the LTN tool:

- [ ] **Displaying cases where there is more than one turn restriction centred on the same node.** Currently if there are turn signs which overlap, only the last-drawn sign is visible. (Here is an example https://www.openstreetmap.org/node/11134462). This means that some turn restrictions are not visible to the user, which is potentially confusing.

- [x] **Mouse-over feature to highlight relevant road segments.** An optional extra feature (and a possible partial solution to the overlapping sign problem above) would be nice to have a mouse-over feature. When you move your mouse over the turn-restriction sign, it highlights the relevant road segments.

- [ ] **Scale by road width or fixed size?** For now I’ve stuck with the logic of adjusting the size of the icons to match the width of the road. In some cases this results in icons which are very small. This is inconsistent with the modal filters icons, which are fixed size. Would it be worth trying setting the turn restriction to a fixed size? Say 50% of the size of the modal filters?

(This issues where previously mentioned here https://github.com/a-b-street/abstreet/pull/1090#issuecomment-1604978123)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。