Changes between Version 10 and Version 11 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2011-03-28T21:42:22+02:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v10 v11 265 265 266 266 === Text & Font properties === 267 268 {{{#!th align=left valign=top 267 {{{#!th align=left valign=top 269 268 '''Key''' 270 269 }}} … … 286 285 }}} 287 286 {{{#!td align=left valign=top 288 * {{{auto}}} 289 Derive the text automatically. The default name tags are: "{{{name:}}}"+''<LANG>'', "{{{name}}}", "{{{int_name}}}", "{{{ref}}}", "{{{operator}}}", "{{{brand}}}" and "{{{addr:housenumber}}}". 290 [[br]]Configure a list of tag names in the preference "{{{mappaint.nameOrder}}}" in order to change this list.[[br]][[br]] 291 * ''String'' 292 Denotes the key of the tag whose value is used as text. 293 294 * ''Expressions''[[br]]You can enter an expression to compute the text to be displayed. Examples: 287 {{{auto}}} 288 Derive the text automatically. The default name tags are: "{{{name:}}}"+''<LANG>'', "{{{name}}}", "{{{int_name}}}", "{{{ref}}}", "{{{operator}}}", "{{{brand}}}" and "{{{addr:housenumber}}}". 289 290 Configure a list of tag names in the preference "{{{mappaint.nameOrder}}}" in order to change this list. 291 292 ''String'' 293 Denotes the key of the tag whose value is used as text. 294 295 ''Expressions'' 296 You can enter an expression to compute the text to be displayed. Examples: 295 297 * {{{eval("this is a static text")}}} - renderes a static text 296 298 * {{{eval(concat(tag("first"), "-", tag("second")))}}} - displays the concatenated tags "first" and "second" … … 308 310 || {{{font-family}}} || font family || ''String'' || "Helvetica"[[br]](JOSM preference "mappaint.font") || 309 311 || {{{font-size}}} || font size || ''Number'' || 8[[br]](JOSM preference "mappaint.fontsize") || 310 || {{{font-w height}}} || bold or not || {{{bold}}}, {{{normal}}} || {{{normal}}} ||312 || {{{font-weight}}} || bold or not || {{{bold}}}, {{{normal}}} || {{{normal}}} || 311 313 || {{{font-style}}} || italic or not || {{{italic}}}, {{{normal}}} || {{{normal}}} || 312 314 … … 486 488 487 489 * seems to have {{{[tunnel=1]}}} instead of {{{[tunnel=yes]}}} (Halcyon) or {{{[tunnel?]}}} (JOSM) 488