wiki:Styles/DestinationSignRelation

destination_sign Relation

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

meta {
    title: "destination_sign Relation";
    author: "mdv";
    version: "1.8_2020-10-05";
    description: "Highlight relation roles 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

Last modified 4 years ago Last modified on 2020-10-05T18:34:01+02:00
Note: See TracWiki for help on using the wiki.