wiki:Styles/DestinationSignRelation

Version 4 (modified by Klumbumbus, 9 years ago) ( diff )

--

destination_sign Relation

Highlights relation rols from, sign and to when nodes are used.

meta {
    title: "destination_sign Relation";
    autor: mdv;
    version: "1.8_2020-10-05";
    watch-modified: true;
    description: "Highlight relation rols from, sign and to";
}

relation[type=destination_sign] >[role="to"] node {  
    icon-image: https://wiki.openstreetmap.org/w/images/6/65/To_sign.png;
}

relation[type=destination_sign] >[role="from"] node { 
    icon-image: https://wiki.openstreetmap.org/w/images/7/7d/From_sign.png;
}

relation[type=destination_sign] >[role="sign"] node {  
    icon-image: https://wiki.openstreetmap.org/w/images/5/50/Sign_sign.png;
    text: "destination" /* This text does not work, because it referes to the node and not the relation. Check parent_tag() and parent_tags() at https://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation */
}

Styles_DestinationSignRelation-style.mapcss, Styles_DestinationSignRelation.zip

Note: See TracWiki for help on using the wiki.