wiki:Styles/light_source
meta {
        title: "light_source";
        version: "0.1";
        description: "Icons for light_source=*.";
        author: "Manuel Hohmann";
}

setting::hide_icons {
        type: boolean;
        label: tr("Hide icons at low zoom");
        default: true;
}

node[light_source] {
        icon-image: "images/light.png";
        set icon_z17;
}

node[light_source=lantern] {
        icon-image: "images/lantern.png";
        set icon_z17;
}

node[light_source=floodlight] {
        icon-image: "images/floodlight.png";
        set icon_z17;
}

node[light_source=warning] {
        icon-image: "images/warning.png";
        set icon_z17;
}

node[light_source=aviation] {
        icon-image: "images/aviation.png";
        set icon_z17;
}

node[light_source=signal_lamp] {
        icon-image: "images/signal_lamp.png";
        set icon_z17;
}

node|z-16[setting("hide_icons")].icon_z17 {
        icon-image: none;
}

Styles_light_source-style.mapcss, Styles_light_source.zip

Last modified 3 years ago Last modified on 2015-08-04T15:54:30+02:00

Attachments (1)

Download all attachments as: .zip