[josm-dev] New Mapcss - where to develop it locally on windows?

Alex Rollin alex.rollin at gmail.com
Mon May 19 15:12:33 UTC 2014


I really really did do that.  I swear.

hummm...

--
Alex


On Mon, May 19, 2014 at 8:10 PM, Paul Hartmann <phaaurlt at gmail.com> wrote:

> On 19.05.2014 12:51, Alex Rollin wrote:
>
>> Can you give me any hints as to where my mapcss and subfolder with icons
>> should be located, and then how to load them in the mappaint dialog (if
>> there are special instructions).
>>
>
> You add your style file in the map settings [1], I understand this has
> worked. Now you can simply reference images by relative path:
>
> /my/path/style.mapcss
> /my/path/images/icon.png
>
> in the style:
>
>   node {
>     icon-image: "images/icon.png";
>   }
>
> see [2] for other ways to include images.
>
> [1] http://josm.openstreetmap.de/wiki/Help/Preferences/Map#MapPaintStyles
> [2] http://josm.openstreetmap.de/wiki/Help/Styles/Images
>
> Paul
>
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/josm-dev
>


More information about the josm-dev mailing list