wiki:Styles/light_source
meta {
        title: "light_source";
        version: "0.2_2019-08-15";
        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 19 months ago Last modified on 2019-08-15T22:19:01+02:00

Attachments (1)

Download all attachments as: .zip