Changes between Version 167 and Version 174 of Styles


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Styles

    v167 v174  
    55[[JOSMImage(dialogs/mapstyle,middle,margin-right=20,48,link=)]] The JOSM [wikitr:/Help/MapView map display] can be easily customized with different styles. Many styles are included with JOSM by default.
    66
    7 There are ''base styles'' (e.g. [source:/trunk/resources/styles/standard/elemstyles.mapcss JOSM standard] or [source:/trunk/resources/styles/standard/potlatch2.mapcss Potlatch 2]) that cover a wide range of features each. They can be combined with ''add-on styles'' that cover more special topics. See the [#Availablestyleslist available styles list] below.
     7There are ''base styles'' (e.g. [source:/trunk/resources/styles/standard/elemstyles.mapcss JOSM standard] or [wiki:/Styles/Potlatch2 Potlatch 2]) that cover a wide range of features each. They can be combined with ''add-on styles'' that cover more special topics. See the [#Availablestyleslist available styles list] below.
    88
    99Further customization is possible via [#AdvancedPreferences style options] or by [#CreateStyle creating your own style].
     
    5757  a. press `Enter` after adjusting the name
    5858 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   }}}
    6365 1. for automatic version adjustment you have to use `[[revision]]_[[date]]` in your version variable:
    6466  * `[[revision]]` - is the latest version number of the wiki page
     
    6971* '''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.)
    7072 * **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).
     73In 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.
    7275
    7376== Icons ==#Icons
     
    8083There are different forms to handle icons:
    8184
    82 * Icons distributed with JOSM can be entered directly with the path (relative to JOSM's 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]).
    8386* Use a path relative to your local style file. (This works only for Styles, not for Presets.)
    8487* 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].)
     
    9295 * Example for SVG: `data:image/svg+xml;base64,...databytes...`
    9396 * [wikitr:/Help/Base64 More information] about `data:image/...` in JOSM.
    94 * When the JOSM wiki is used for designing of new styles you have some additional options:
     97* When the JOSM wiki is used for designing of new styles or presets you have some additional options:
    9598 * Each file attached to the wiki page is automatically included in the zip file downloaded by JOSM.
    9699 * If you don't want a file in the zip file, add the text **(NOZIP)** in the description of the attachment.
     
    127130
    128131== Styles managed in JOSM wiki ==
    129 [[TitleIndex(Styles/)]]
     132[[TitleIndexTr(Styles/)]]
    130133
    131134