Changes between Version 10 and Version 11 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
Mar 28, 2011 9:42:22 PM (2 years ago)
Author:
anonymous
Comment:

formatting and typo

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v10 v11  
    265265 
    266266=== Text & Font properties === 
    267  
    268 {{{#!th align=left valign=top 
     267{{{#!th align=left valign=top  
    269268'''Key''' 
    270269}}} 
     
    286285}}} 
    287286{{{#!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: 
    295297  * {{{eval("this is a static text")}}} - renderes a static text 
    296298  * {{{eval(concat(tag("first"), "-", tag("second")))}}} - displays the concatenated tags "first" and "second"  
     
    308310|| {{{font-family}}} || font family || ''String'' ||  "Helvetica"[[br]](JOSM preference "mappaint.font")  || 
    309311|| {{{font-size}}} || font size || ''Number'' ||  8[[br]](JOSM preference "mappaint.fontsize")  || 
    310 || {{{font-wheight}}} || bold or not || {{{bold}}}, {{{normal}}} ||  {{{normal}}}  || 
     312|| {{{font-weight}}} || bold or not || {{{bold}}}, {{{normal}}} ||  {{{normal}}}  || 
    311313|| {{{font-style}}} || italic or not || {{{italic}}}, {{{normal}}} ||  {{{normal}}}  || 
    312314 
     
    486488 
    487489 * seems to have {{{[tunnel=1]}}} instead of {{{[tunnel=yes]}}} (Halcyon) or {{{[tunnel?]}}} (JOSM) 
    488