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 Klumbumbus)

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 Don-vip, 5 years ago

Component: Core mappaintInternal mappaint style
Keywords: cycleway added

comment:2 by skyper, 5 years ago

Thought :both is especially needed together with oneway=yes. For cases without oneway, cycleway=* is defined as on both sides and :both does not give more information.

comment:3 by Klumbumbus, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.