Changes between Version 4 and Version 5 of Help/Styles/Images


Ignore:
Timestamp:
2016-07-19T20:58:39+02:00 (10 years ago)
Author:
Klumbumbus
Comment:

update icon paths, see r10565

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/Images

    v4 v5  
    55There are different ways to reference images in styles:
    66
    7  Build in images:: You can reference the build in images. To browse the available icons, unpack the `josm-*.jar` file with any program that can handle a zip-archive. The image files are located in the `images` subfolder. Omit the first folder in the file path (not `images/icons/restaurant.png`, but `icons/restaurant.png`). Example:
     7 Build in images:: You can reference the build in images. To browse the available icons, unpack the `josm-*.jar` file with any program that can handle a zip-archive. The image files are located in the `images` subfolder. Omit the first folder in the file path (not `images/presets/food/restaurant.svg`, but `presets/food/restaurant.svg`). Example:
    88{{{#!mapcss
    99node[amenity=restaurant] {
    10     icon-image: "icons/restaurant.png";
     10    icon-image: "presets/food/restaurant.svg";
    1111}
    1212}}}