Changes between Version 4 and Version 5 of Help/Styles/Images
- Timestamp:
- 2016-07-19T20:58:39+02:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/Images
v4 v5 5 5 There are different ways to reference images in styles: 6 6 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: 8 8 {{{#!mapcss 9 9 node[amenity=restaurant] { 10 icon-image: " icons/restaurant.png";10 icon-image: "presets/food/restaurant.svg"; 11 11 } 12 12 }}}
