wiki:Styles/ColourTag

Languages:

colour tag

Description

The mappaint style "colour tag" displays ways in the colour of their colour tag. Supported formats are 6 digit RGB hexadecimal (#112233), 3 digit RGB hexadecimal (#123) and CSS color names (green).

For ideas/questions/bugs/suggestions or similar please write a message to Klumbumbus.

Feel free to translate this wiki page into more languages. Already translated languages see top right.

Code

meta {
    title: "colour tag";
    version: "4_2022-08-05";
    description: "Displays ways in the colour of their colour tag. Supported formats are 6 digit RGB hexadecimal (#112233), 3 digit RGB hexadecimal (#123) and CSS color names (green).";
   /* icon: "colourtag.svg"; */
    author: "Klumbumbus";
    link: "https://josm.openstreetmap.de/wiki/Styles/ColourTag";
    /* min-josm-version: "????"; not sure*/
}

meta[lang=de] {
    title: "Farb-Merkmal";
    description: "Zeigt Linien in der Farbe ihres colour-Merkmals an. Unterstützte Formate sind RGB-hexadezimal mit 6 Zeichen (#112233), RGB-hexadezimal mit 3 Zeichen (#123) und CSS Farbnamen (green).";
    link: "https://josm.openstreetmap.de/wiki/De:Styles/ColourTag";
}


way[colour] {
    width: 3;
    color: tag(colour);
}

Styles_ColourTag-style.mapcss, Styles_ColourTag.zip

Last modified 21 months ago Last modified on 2022-08-05T18:07:58+02:00
Note: See TracWiki for help on using the wiki.