Changes between Version 134 and Version 135 of Styles


Ignore:
Timestamp:
2016-09-26T15:23:25+02:00 (9 years ago)
Author:
skyper
Comment:

centre images and link harmonizing

Legend:

Unmodified
Added
Removed
Modified
  • Styles

    v134 v135  
    55The JOSM [[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/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.
    88
    9 Further customization is possible via [[#AdvancedPreferences|style options]] or by [[#CreateStyle|creating your own style]].
     9Further customization is possible via [#AdvancedPreferences style options] or by [#CreateStyle creating your own style].
    1010
    1111== Choose styles ==#ChooseStyles
     
    1414
    1515JOSM comes with some 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
    16 * in the [[Help/Dialog/MapPaint|map paint style dialog]] or
    17 * in the [[Help/Menu/View|"View" menu]] ( → "Map paint styles") or
     16* in the [Help/Dialog/MapPaint map paint style dialog] or
     17* in the [Help/Menu/View "View" menu] ( → "Map paint styles") or
    1818* (less comfortable) in the Map Paint Styles Preferences (see section below)
    1919
     
    2525''Instructions:''
    26261. open the [Help/Preferences/Map#MapPaintStyles Map Paint Styles Preferences] by either
    27    * clicking the [[Image(source:trunk/images/dialogs/mappaintpreference.png)]] [[Help/Dialog/MapPaint#MapStyleSettings|Settings]] button in the map style dialog (shown in the animation) or
    28    * via [[Help/Menu/View|"View" menu]] → "Map paint styles" → "Map paint preferences" or
    29    * (less comfortable) via the general preferences window ([[Help/Menu/Edit|Menu Edit]] → [[Help/Action/Preferences|Preferences]] → [[Image(source:trunk/images/preferences/map.png,15)]] [[Help/Preferences/Map|Map Settings]] (3rd button on the left) → Map Paint Styles (2nd tab))
    30 2. select a style in the list of "available styles" (left side)
    31 3. activate it by clicking the [[Image(source:trunk/images/preferences/activate-right.png)]] blue right arrow button (in the centre)
    32 4. exit and confirm by clicking the OK button
     27   * clicking the [[Image(source:trunk/images/dialogs/mappaintpreference.png,middle)]] [Help/Dialog/MapPaint#MapStyleSettings Settings] button in the map style dialog (shown in the animation) or
     28   * via [Help/Menu/View "View" menu] → "Map paint styles" → "Map paint preferences" or
     29   * (less comfortable) via the general preferences window ([Help/Menu/Edit Menu Edit] → [Help/Action/Preferences Preferences] → [[Image(source:trunk/images/preferences/map.png,20,middle)]] [Help/Preferences/Map Map Settings] (3rd button on the left) → Map Paint Styles (2nd tab))
     301. select a style in the list of "available styles" (left side)
     311. activate it by clicking the [[Image(source:trunk/images/preferences/activate-right.png,middle)]] blue right arrow button (in the centre)
     321. exit and confirm by clicking the OK button
    3333
    3434''Example:'' Let's assume that you want to add [osmwiki:Key:maxspeed maxspeed=*] tags to OSM, then you probably will make use of the style [wiki:Styles/Maxspeed Maxspeed] (which displays the value of maxspeed on roads with different colors). The screencast/animation on the right side (click to enlarge) shows how to add this style to your list of "active styles".
    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 [[Image(source:trunk/images/dialogs/add.png)]] 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 [[Image(source:trunk/images/dialogs/add.png,middle)]] plus sign on the right and enter either path and filename or URL of your style file.
    3838
    3939== Available styles list ==
     
    4444You don't like the standard style? Change it to your own liking:
    4545
    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.
     46* In the [Help/Dialog/MapPaint map paint style dialog], right click one of the styles and select [[Image(source:/trunk/images/copy.png,middle)]] "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.
    4747* Or create a style from scratch and add it in the JOSM mappaint preferences.
    4848
    4949JOSM supports styles in the MapCSS format. It is a style language similar to [https://en.wikipedia.org/wiki/Cascading_Style_Sheets CSS] originally developed for Potlatch 2.
    5050 * General information can be found in the [osmwiki:Category:MapCSS osm wiki].
    51  * A [[Help/Styles/MapCSSTutorial|Short tutorial]] should get you started.
    52  * The [[Help/Styles/MapCSSImplementation|JOSM implementation reference]] lists the supported features in more detail.
     51 * A [Help/Styles/MapCSSTutorial Short tutorial]] should get you started.
     52 * The [Help/Styles/MapCSSImplementation JOSM implementation reference]] lists the supported features in more detail.
    5353
    5454== Make your style available to other users ==
     
    135135
    136136== Advanced Preferences ==
    137 Some styles may have options. They are available via a right click (context menu) 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 display nodes at low zoom levels "less obtrusive" (enabled by default).
     137Some styles may have options. They are available via a right click (context menu) 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 display nodes at low zoom levels "less obtrusive" (enabled by default).
    138138
    139139In addition, you can use the following hidden preferences: