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

Keywords: mapcss direction arrow added

comment:2 by Don-vip, 5 years ago

Duplicate of #10595?

comment:3 by Don-vip, 5 years ago

Ticket #10595 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to stoecker.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.