Modify

Opened 19 months ago

Last modified 19 months 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 Changed 19 months ago by Don-vip

Keywords: mapcss direction arrow added

comment:2 Changed 19 months ago by Don-vip

Duplicate of #10595?

comment:3 Changed 19 months ago by Don-vip

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.
to The owner will be changed from team to the specified user.
The owner will change to stoecker
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.