Changes between Version 128 and Version 129 of Styles
- Timestamp:
- 2016-03-13T20:56:29+01:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles
v128 v129 47 47 * Or create a style from scratch and add it in the JOSM mappaint preferences. 48 48 49 JOSM supports two formats to define a style: 50 51 JOSM XML:: 52 The previously traditional style format in JOSM (still functional). The [[Styles/LegacyStandard|old standard style]] contains some documentation. '''Support will be removed soon! ''' 53 MapCSS:: 54 Style language similar to [https://en.wikipedia.org/wiki/Cascading_Style_Sheets CSS] originally developed for Potlatch 2, but aims to be a standard for map styles. 49 JOSM 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. 55 50 * General information can be found in the [osmwiki:Category:MapCSS osm wiki]. 56 51 * A [[Help/Styles/MapCSSTutorial|Short tutorial]] should get you started. 57 52 * The [[Help/Styles/MapCSSImplementation|JOSM implementation reference]] lists the supported features in more detail. 58 59 Style files with different formats are compatible, they can be loaded at the same time.60 53 61 54 == Make your style available to other users == … … 139 132 * {{{mappaint.strokes}}} 140 133 * select whether strokes or full lines are used - same values as {{{mappaint.fillareas}}} 141 * {{{mappaint.useRealWidth}}} 142 * true - ways will change width corresponding to the real width in meters set in the elemstyle.xml file 143 * false (default) - ways will have the same width on every zoom level 134 * ~~{{{mappaint.useRealWidth}}}~~ 135 * ~~true - ways will change width corresponding to the real width in meters set in the elemstyle.xml file~~ 136 * ~~false (default) - ways will have the same width on every zoom level~~ 144 137 * {{{mappaint.zoomLevelDisplay}}} 145 138 * true - elements visibility depends on zoom level
