Changes between Version 154 and Version 155 of Styles
- Timestamp:
- 2020-03-20T13:02:15+01:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles
v154 v155 1 1 [[TranslatedPages]] 2 2 [[PageOutline(2-10,Table of Content)]] 3 3 4 = 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. 6 6 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.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. 8 8 9 9 Further customization is possible via [#AdvancedPreferences style options] or by [#CreateStyle creating your own style]. … … 21 21 22 22 === Activating more styles === 23 [[Image(addstyle.gif, right, 250px, title=animation of how to activate and choose an example style)]]24 23 25 24 ''Instructions:'' 25 26 26 1. 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 or28 * via [wikitr:/Help/Menu/View View menu] → ''Map paint styles'' → ''Map paint preferences'' or29 * 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)) 30 30 1. 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.31 1. Activate it by clicking the [[JOSMImage(preferences/activate-right)]] blue right arrow button between the lists. 32 32 1. Exit and confirm by clicking the OK button 33 33 … … 35 35 36 36 ==== 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.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)]] plus sign on the right and enter either path and filename or URL of your style file. 38 38 39 39 == Available styles list == … … 53 53 54 54 == 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]. 56 56 * don't forget to enclose your mappaint code by a code block (`#!style type="mapcss"` needs to be on a new line after `{{{`): 57 57 * `{{{` … … 93 93 94 94 == Translation == 95 96 95 Styles, 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. 97 96 To create these files there exist scripts in the SVN directory [osm:source:applications/editors/josm/i18n/ i18n]. … … 128 127 There are some special icons for missing/incomplete things: 129 128 130 [[Image(Mappaint_no_icon.png)]] missing icon[[br]] 129 [[Image(Mappaint_no_icon.png,margin-right=5)]] missing icon[[br]] 131 130 We 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. 132 131 133 [[Image(Mappaint_deprecated.png)]] warning icon[[br]] 132 [[Image(Mappaint_deprecated.png,margin-right=5)]] warning icon[[br]] 134 133 The 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. 135 134
