Opened 5 years ago
Last modified 3 years ago
#19910 closed enhancement
Add support for cycleway:both — at Version 3
| Reported by: | Romwriter | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Internal mappaint style | Version: | tested |
| Keywords: | cycleway | Cc: |
Description (last modified by )
cycleway:both=* tag should be displayed like cycleway=* tag
Suggestion for patching resources/styles/standard/elemstyles.mapcss is:
@990 way[oneway=no][cycleway=lane]::core_cycleway, -way[!oneway][cycleway=lane]::core_cycleway { +way[!oneway][cycleway=lane]::core_cycleway, +way[cycleway:both=lane]::core_cycleway { set laneLeft; set laneRight; } @1017 way[oneway=no][cycleway=shared_lane]::core_cycleway, -way[!oneway][cycleway=shared_lane]::core_cycleway { +way[!oneway][cycleway=shared_lane]::core_cycleway, +way[cycleway:both=shared_lane]::core_cycleway { set shared_laneLeft; set shared_laneRight; } @1048 way[oneway=no][cycleway=track]::core_cycleway, -way[!oneway][cycleway=track]::core_cycleway { +way[!oneway][cycleway=track]::core_cycleway, +way[cycleway:both=track]::core_cycleway { set trackLeft; set trackRight; }
Change History (3)
comment:1 by , 5 years ago
| Component: | Core mappaint → Internal mappaint style |
|---|---|
| Keywords: | cycleway added |
comment:2 by , 5 years ago
comment:3 by , 5 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.



Thought
:bothis especially needed together withoneway=yes. For cases withoutoneway,cycleway=*is defined as on both sides and:bothdoes not give more information.