wiki:Styles/Modified

Version 7 (modified by Klumbumbus, 7 years ago) ( diff )

make color adjustable by user via color preferences, add link, min_verison, docu

This style highlights modified objects. The color is adjustable via the Color Preferences.

(At the beginning this style was a test feature to develop an easier way for creating new presets and mappaint styles.)

meta 
{
    title: "Modified objects";
    description: "Highlight modified objects";
    version: "0.1.14_2021-03-23";
    author: "Sebastian Klein";
    link: "https://josm.openstreetmap.de/wiki/Styles/Modified";
    min-josm-version: "7193";
    watch-modified: true;
}

meta[lang=de]
{
    title: "Geänderte Objekte";
    description: "Geänderte Objekte hervorheben";
}

node:modified::modified_layer 
{
    symbol-shape: circle;
    symbol-size: 50;
    symbol-fill-color: modified_objects_style#lime;
    symbol-fill-opacity: 0.3;
    z-index: -5;
}

way:modified::modified_layer,
node:modified < way::modified_layer 
{
    width: 40;
    color: modified_objects_style#lime;
    opacity: 0.3;
    z-index: -5;
}

Styles_Modified-style.mapcss, Styles_Modified.zip

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.