Changes between Version 108 and Version 109 of Styles
- Timestamp:
- 2014-12-13T16:49:50+01:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles
v108 v109 8 8 = JOSM Map Styles = 9 9 [[Image(source:trunk/images/dialogs/mapstyle.png,middle,margin-right=20)]] 10 The JOSM map display can becustomized with different styles.10 The JOSM [[Help/MapView|map display]] can be easily customized with different styles. Many styles are included with JOSM by default. 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 [[#Available styles list]] below). Further customization is possible via style options, see section [[#AdvancedPreferences|section Advanced Preferences]]. 11 11 12 == Choose styles ==#ChooseStyles 12 13 13 == Choose Styles == 14 JOSM offers a preselection of styles, that can be turned on or off in the [[Help/Dialog/MapPaint|map style dialog]]. 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: 14 ''State overview'' of a map style: available style → active style → ☑ chosen style (actually used for the map painting) 15 16 JOSM comes with a set of styles being in the "active styles" list by default. You can choose styles from this list of "active styles" to be actually used for the map painting by clicking the check box (☑) at the desired style's line 17 * in the [[Help/Dialog/MapPaint|map paint style dialog]] or 18 * in the [[Help/Menu/View|"View" menu]] ( → "Map paint styles") or 19 * (less comfortable) in the Map Paint Styles Preferences (see section below) 20 21 Note that unless you are working with add-on styles, likely you want to have only one style ☑ checked at a time. 22 23 ==== Activating more styles ==== 24 To add more styles to your list of "active styles" 25 1. open the [Help/Preferences/Map#MapPaintStyles Map Paint Styles Preferences] by either 26 * clicking the [[Image(source:trunk/images/dialogs/mappaintpreference.png)]] [[Help/Dialog/MapPaint#MapStyleSettings|Settings]] button in the map style dialog or via 27 * [[Help/Menu/View|"View" menu]] ( → "Map paint styles" → "Map paint preferences") or 28 * (less comfortable) via the general preferences window (Menu Edit → Preferences → [[Image(source:trunk/images/preferences/map.png,15)]] Map Settings (3rd button on the left) → Map Paint Styles (2nd tab)) 29 2. select a style in the (left) list of "available styles" 30 3. activate it by clicking the [[Image(source:trunk/images/preferences/activate-right.png)]] blue right arrow button in the center 31 4. exit and confirm by clicking the OK button 32 33 Examples: 34 * [https://help.openstreetmap.org/upfiles/josmmapstyles-selectold.png Screenshot showing how to activate the old (XML) JOSM default style] 35 * Let's assume that you're interested in sea maps, then you probably will make use of the style "SeaMap FreieTonne": Just highlight this entry in the "Available Styles" list by clicking on it and press the [[Image(source:trunk/images/preferences/activate-right.png)]] blue right arrow button in the center. Now it should be one of your "Active Styles". To actually use it you now need to choose it (check box ☑). 36 37 ''Further reading:'' Well, let's continue with advanced style usage! You already [[#CreateStyle|created your own style]]? Just click the [[Image(source:trunk/images/dialogs/add.png)]] plus sign on the right and enter either path and filename or URL of your style file. 38 39 == Available styles list == 15 40 16 41 [[Styles(en|styles|short description|author|description|version|More details)]] 17 18 To add more styles to your list, open the map style preferences by clicking the [[Image(source:trunk/images/dialogs/mappaintpreference.png)]] [[Help/Dialog/MapPaint#MapStyleSettings|Settings]] button in the map style dialog.19 20 ''(Alternatively you can navigate directly to the [Help/Preferences/Map#MapPaintStyles Map Paint Styles Preferences]: Edit -> Preferences -> [[Image(source:trunk/images/preferences/map.png,15)]] Map Settings (3rd button on the left) -> Map Paint Styles (2nd tab))''21 22 ''Example'':23 Let's assume that you're interested in sea maps, then you probably will make use of the style "SeaMap FreieTonne": Just highlight this entry in the "Available Styles" list by clicking on it and press the [[Image(source:trunk/images/preferences/activate-right.png)]] blue right arrow button in the center. Now it should be one of your "Active Styles". Well, let's continue with advanced style usage! You created your own style ([#CreateStyle see below])? Just click the [[Image(source:trunk/images/dialogs/add.png)]] plus sign on the right and enter either path and filename or URL of your style file.24 25 42 26 43 == Create your own style ==#CreateStyle 27 44 You don't like the standard style? Change it to your own liking: 28 45 29 * In the [[Help/Dialog/MapPaint|map style dialog]], right click one of the styles and select [[Image(source:/trunk/images/copy.png)]]"save as...". A copy will be added to the list of styles. You can open the file in a text editor and reload after doing some changes. 46 * In the [[Help/Dialog/MapPaint|map paint style dialog]], right click one of the styles and select [[Image(source:/trunk/images/copy.png)]]"save as...". A copy will be added to the list of styles. You can open the file in a text editor and reload after doing some changes. 30 47 * Or create a style from scratch and add it in the JOSM mappaint preferences. 31 48 … … 102 119 103 120 == Advanced Preferences == 104 You can use the following hidden preferences: 121 Some styles may have options. They are available via a right click on the style's entry inside the [[Help/Dialog/MapPaint|map paint style dialog]] window. E.g. JOSM's current default map style (MapCSS) has the option to disable the "less obtrusive" nodes at low zoom levels. 122 123 In addition you can use the following hidden preferences: 105 124 * {{{mappaint.fillalpha}}} 106 125 * alpha "opacity level", that is used to fill areas. An integer value between 0 (transparent) and 255 (solid) with the default of 50.
