Modify ↓
Opened 5 years ago
Last modified 5 years ago
#18211 new enhancement
Allow to handle direction arrows in MapCSS
Reported by: | stoecker | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core mappaint | Version: | |
Keywords: | mapcss direction arrow | Cc: | Klumbumbus, Don-vip |
Description
It seems currently oneway/direction arrows are tied to oneway= tag directly. There should be the possibility to handle this in MapCSS.
Our potlatch2.mapcss has something which sounds like a good idea.
/*way[oneway=yes]::arrows, way[junction=roundabout]::arrows { z-index: 15; color: #555555; width: 2; dashes: 10,50; line-style: arrows; } way[oneway=-1]::arrows { z-index: 15; color: #555555; width: 2; dashes: 10,50; line-style: arrows-reversed; }*/
Target should be:
- override automatic oneway arrows (a canvas option?)
- define the appearance of direction arrows (width, length, distances, only on line end, direction(forward/reverse), ...)
- allow to use that feature on lines which don't have "oneway=..."
Attachments (0)
Change History (3)
comment:1 by , 5 years ago
Keywords: | mapcss direction arrow added |
---|
comment:2 by , 5 years ago
Note:
See TracTickets
for help on using tickets.
Duplicate of #10595?