Changes between Version 154 and Version 155 of Styles


Ignore:
Timestamp:
2020-03-20T13:02:15+01:00 (6 years ago)
Author:
skyper
Comment:

fixed links; little margin for images

Legend:

Unmodified
Added
Removed
Modified
  • Styles

    v154 v155  
    11[[TranslatedPages]]
    22[[PageOutline(2-10,Table of Content)]]
     3
    34= JOSM Map Styles =
    4 [[JOSMImage(dialogs/mapstyle,middle,margin-right=20)]]
    5 The JOSM [wikitr:/Help/MapView map display] can be easily customized with different styles. Many styles are included with JOSM by default.
     5[[JOSMImage(dialogs/mapstyle,middle,margin-right=20,48)]] 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/styles/standard/elemstyles.mapcss JOSM standard] or [source:trunk/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 [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.
    88
    99Further customization is possible via [#AdvancedPreferences style options] or by [#CreateStyle creating your own style].
     
    2121
    2222=== Activating more styles ===
    23 [[Image(addstyle.gif, right, 250px, title=animation of how to activate and choose an example style)]] 
    2423
    2524''Instructions:''
     25
    26261. Open the [wikitr:/Help/Preferences/Map#MapPaintStyles Map Paint preferences]
    27    * via the header of the Map Paint Styles panel with the [[JOSMImage(dialogs/mappaintpreference,middle)]] [wikitr:/Help/Dialog/MapPaint#MapStyleSettings Preferences] button or
    28    * via [wikitr:/Help/Menu/View View menu] → ''Map paint styles'' → ''Map paint preferences'' or 
    29    * via the general preferences dialog [wikitr:/Help/Menu/Edit Menu Edit] → [wikitr:/Help/Action/Preferences Preferences] → [[JOSMImage(preferences/map,20,middle)]] [wikitr:/Help/Preferences/Map Map Settings] (3rd button on the left) → Map Paint Styles (2nd tab))
     27 * via the header of the Map Paint Styles panel with the [[JOSMImage(dialogs/mappaintpreference)]] [wikitr:/Help/Dialog/MapPaint#MapStyleSettings Preferences] button or [[Image(addstyle.gif, right, 250px, title=animation of how to activate and choose an example style,margin=10)]]
     28 * via [wikitr:/Help/Menu/View View menu] → ''Map paint styles'' → ''Map paint preferences'' or
     29 * via the general preferences dialog [wikitr:/Help/Menu/Edit Menu Edit] → [wikitr:/Help/Action/Preferences Preferences] → [[JOSMImage(preferences/map,20,middle)]] [wikitr:/Help/Preferences/Map Map Settings] (3rd button on the left) → Map Paint Styles (2nd tab))
    30301. Choose a style in the list of ''Available styles'' (left side)
    31 1. Activate it by clicking the [[JOSMImage(preferences/activate-right,middle)]] blue right arrow button between the lists.
     311. Activate it by clicking the [[JOSMImage(preferences/activate-right)]] blue right arrow button between the lists.
    32321. Exit and confirm by clicking the OK button
    3333
     
    3535
    3636==== Adding own styles ====
    37 You can add own styles (from any URL/file) to the list of active styles – for example a style file which you have [#CreateStyle created yourself]. Just click the [[JOSMImage(dialogs/add,middle)]] plus sign on the right and enter either path and filename or URL of your style file.
     37You can add own styles (from any URL/file) to the list of active styles – for example a style file which you have [#CreateStyle created yourself]. Just click the [[JOSMImage(dialogs/add)]] plus sign on the right and enter either path and filename or URL of your style file.
    3838
    3939== Available styles list ==
     
    5353
    5454== Make your style available to other users ==
    55 * Either create a wiki page similar to [[Styles/Modified]].
     55* Either create a wiki page similar to [wiki:Help/Styles/Modified].
    5656 * don't forget to enclose your mappaint code by a code block (`#!style type="mapcss"` needs to be on a new line after `{{{`):
    5757  * `{{{`
     
    9393
    9494== Translation ==
    95 
    9695Styles, Rules, Presets and Plugins use the same translation mechanism as JOSM core. The files must be delivered as Zip and contain a directory called `data` with the .lang files.
    9796To create these files there exist scripts in the SVN directory [osm:source:applications/editors/josm/i18n/ i18n].
     
    128127There are some special icons for missing/incomplete things:
    129128
    130 [[Image(Mappaint_no_icon.png)]] missing icon[[br]]
     129[[Image(Mappaint_no_icon.png,margin-right=5)]] missing icon[[br]]
    131130We don't have the right icon for every node tag in map features yet, e.g. icons for most {{{natural=*}}} tags are still missing. If you encounter such a "missing icon", feel free to create a nice 16*16 pixel icon that matches the tag. To submit your work, open a [/newticket new ticket] and add your image or zip archive as attachment.
    132131
    133 [[Image(Mappaint_deprecated.png)]] warning icon[[br]]
     132[[Image(Mappaint_deprecated.png,margin-right=5)]] warning icon[[br]]
    134133The corresponding tag was once used but is no longer recommended to be used - or - it is not suitable for a node, e.g. {{{highway=motorway}}} just doesn't make sense on a node. Probably not all deprecated tags will show this icon.
    135134