Changes between Version 232 and Version 233 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2023-02-08T14:09:17+01:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v232 v233 1103 1103 }}} 1104 1104 {{{#!td align=left valign=top 1105 How to find the label text. No label is displayed, unless this instruction is present.1105 How to find the label text.\\No label is displayed, unless this instruction is present. 1106 1106 }}} 1107 1107 {{{#!td align=left valign=top 1108 1108 `auto` 1109 Derive the text automatically. The default name tags are: "`name:`"+''<LANG>'', "`name`", "`int_name`", "`ref`", "`operator`", "`brand`" and "`addr:housenumber`". 1109 Derive the text automatically. The default name tags are: "`name:`"+''<LANG>'', \\"`name`", "`int_name`", "`ref`", "`operator`", "`brand`" and "`addr:housenumber`". 1110 1110 1111 1111 Configure a list of tag names in the preference "`mappaint.nameOrder`" in order to change this list. (After changing the list, a restart of JOSM is required.) … … 1117 1117 You can enter an expression to compute the text to be displayed. Examples: 1118 1118 * `eval("this is a static text")` - renderes a static text 1119 * `eval(concat(tag("first"), "-", tag("second")))` - displays the concatenated tags "first" and "second" 1119 * `eval(concat(tag("first"), "-", tag("second")))` - displays \\ the concatenated tags "first" and "second" 1120 1120 1121 1121 `""`
