[josm-dev] icons for MapCSS for RoadSigns

Paul Hartmann phaaurlt at gmail.com
Tue Feb 17 10:42:10 UTC 2015


On 17.02.2015 05:11, Jo wrote:
> Hi,
>
> I'm trying to create a style to visualize road signs.
>
> All the icons are already in the roadsigns plugin. Is there a way to access
> them? I've been trying all kinds of variations, but all I'm getting is a
> white square.
>
> node|z15-[traffic_sign="BE:B1"]
> {
>      icon-image: "/josm/plugins/roadsigns.jar/images/BE/BE_B1.png";
> }

This would be simply

       icon-image: "BE/BE_B1.png";

But if you plan to distribute the style, I would recommend to include 
the images anyway. This way the style works regardless of the installed 
plugins.

Paul



More information about the josm-dev mailing list