Changes between Initial Version and Version 4 of Ticket #10217


Ignore:
Timestamp:
2014-07-03T23:47:00+02:00 (5 years ago)
Author:
simon04
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10217

    • Property Component changed from Core to Core mappaint
    • Property Summary changed from Rotating icon with MapCSS to [Patch] Rotating icon with MapCSS
    • Property Milestone changed from to 14.07
    • Property Keywords rotation added
    • Property Type changed from defect to enhancement
  • Ticket #10217 – Description

    initial v4  
    11On some instances it would be desirable if an icon could be rotated. Either by the direction of the road (i.e. a pedestrian crossing) or completely independent
    22
     3{{{
     4#!mapcss
    35node[highway=crossing]:connected {
    46    icon-image:    "presets/pedestrian_crossing.png";
    57    icon-rotation: way;
    68}
     9}}}
    710
    811this turns the icon to follow the direction of the way
    912
     13{{{
     14#!mapcss
    1015node[mykey=value] {
    1116    icon-image:   "arrow-symbol.png";
    1217    icon-rotation: 60;
    1318}
     19}}}
    1420this rotates the icon 60 degrees clockwise.
    1521