Changes between Version 170 and Version 174 of Styles
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles
v170 v174 57 57 a. press `Enter` after adjusting the name 58 58 1. don't forget to enclose your mappaint code by a code block (`#!style type="mapcss"` needs to be on a **new line** after `{{{`): 59 1. `{{{` 60 1. `#!style type="mapcss"` 61 1. ... 62 1. `}}}` 59 {{{ 60 {{{ 61 #!style type="mapcss"` 62 … 63 }}} 64 }}} 63 65 1. for automatic version adjustment you have to use `[[revision]]_[[date]]` in your version variable: 64 66 * `[[revision]]` - is the latest version number of the wiki page … … 69 71 * '''or''' edit the page StylesSource and add URLs for new style files to the list at the top. (JOSM wiki based Styles (see above) is the preferred method.) 70 72 * **Note**: Only URLs with file-extension (e.g. *.mapcss, *.zip, *.php) are supported. 71 In both cases, the new style will be automatically listed in the table above after a few minutes. Then it will also be available in the JOSM mappaint preferences (after clicking the reload button). 73 In both cases, the new style will be automatically listed in the table above after a few minutes. Then it will also be available in the JOSM mappaint preferences (after clicking the reload button). \\ 74 **Note**: The [/jenkins/job/JOSM-Integration/ JOSM-Integration test] will run on all styles and report problems. 72 75 73 76 == Icons ==#Icons … … 80 83 There are different forms to handle icons: 81 84 82 * Icons distributed with JOSM can be entered directly with the path (relative to JOSM's [ https://josm.openstreetmap.de/browser/josm/trunk/resources/images internal image directory]).85 * Icons distributed with JOSM can be entered directly with the path (relative to JOSM's [source:/trunk/resources/images internal image directory]). 83 86 * Use a path relative to your local style file. (This works only for Styles, not for Presets.) 84 87 * Use a path relative to a directory specified at the bottom in the [wikitr:/Help/Preferences/MapPaintPreference Map Paint Styles preferences] or [wikitr:/Help/Preferences/TaggingPresetPreference Tagging Presets preferences].) … … 127 130 128 131 == Styles managed in JOSM wiki == 129 [[TitleIndex(Styles/)]] 132 [[TitleIndexTr(Styles/)]] 130 133 131 134
