Changes between Version 126 and Version 127 of Styles
- Timestamp:
- 2016-01-12T17:47:46+01:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles
v126 v127 50 50 51 51 JOSM XML:: 52 The previously traditional style format in JOSM (still functional). The [[Styles/LegacyStandard|old standard style]] contains some documentation. 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 53 MapCSS:: 54 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. … … 61 61 == Make your style available to other users == 62 62 * Either edit the page StylesSource and add URLs for new style files to the list at the top … 63 * **Note**: Only URLs with file-extension (e.g. *.mapcss, *. xml, *.zip, *.php) are supported.64 * … or create a wiki page similar to [[Styles/ LegacyStandard]] (XML) or [[Styles/Modified]](MapCSS).63 * **Note**: Only URLs with file-extension (e.g. *.mapcss, *.zip, *.php) are supported. 64 * … or create a wiki page similar to [[Styles/Modified]]. 65 65 * don't forget to enclose your mappaint code by a code block (`#!style type="mapcss"` needs to be on a new line after `{{{`): 66 66 * `{{{` … … 85 85 * New icons can be directly referenced using a http-link. These are downloaded and cached internally. 86 86 * Since JOSM revision [/changeset/2289/josm 2289] zip files are supported. 87 * The zip file must contain at least one file with extension xml (or mapcss).87 * The zip file must contain at least one file with extension mapcss. 88 88 * Icon names and path are relative to the topmost zip directory. 89 * If there are multiple XMLfiles, a file with "style" in the name is preferred (to allow packaging styles and presets in one archive).89 * If there are multiple files, a file with "style" in the name is preferred (to allow packaging styles and presets in one archive). 90 90 * Since JOSM revision [/changeset/4713/josm 4713] inline encoding as described in [[http://tools.ietf.org/html/rfc2397|RFC 2397]] is supported. 91 91 * Example for PNG: {{{data:image/png;base64,...databytes...}}}
