Changes between Initial Version and Version 4 of Ticket #10217


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10217

    • Property Component CoreCore mappaint
    • Property Keywords rotation added
    • Property Type defectenhancement
    • Property Milestone14.07
    • Property Summary Rotating icon with MapCSS[Patch] Rotating icon with MapCSS
  • 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