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.7_2016-09-19";
    watch-modified: true;
    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 2 years ago Last modified on 2016-09-19T23:32:16+02:00