Changes between Version 1 and Version 2 of Ticket #18468, comment 4


Ignore:
Timestamp:
2020-01-18T19:49:45+01:00 (5 years ago)
Author:
simon04

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18468, comment 4

    v1 v2  
    11This is one traffic sign:
    22
     3{{{
     4#!mapcss
    35node|z-15["traffic_sign:background"="yellow"]["side"="left"]["distance_ahead"]::background3_sign_layer_bckground{
    4 text:"distance_ahead";
    5 text-color: black;
    6 text-anchor-vertical: center;
    7 text-anchor-horizontal: center;
    8 font-size:"2";
    9 font-weight:"bold";
    10 text-offset-x:"-11";
    11 text-offset-y:"-8";
    12 icon-offset-x:"-10";
    13 icon-offset-y:"1";
    14 icon-width:"15";
    15 icon-image:"RS/yellow_single.png";
     6  text:"distance_ahead";
     7  text-color: black;
     8  text-anchor-vertical: center;
     9  text-anchor-horizontal: center;
     10  font-size:"2";
     11  font-weight:"bold";
     12  text-offset-x:"-11";
     13  text-offset-y:"-8";
     14  icon-offset-x:"-10";
     15  icon-offset-y:"1";
     16  icon-width:"15";
     17  icon-image:"RS/yellow_single.png";
    1618}
     19}}}
    1720
    1821If I need to use icon rotation, I would use: icon-rotation: command, as it is stated here: https://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation, in section **Icon and symbol styles**