Changes between Version 15 and Version 16 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2011-08-15T19:27:09+02:00 (14 years ago)
Author:
bastiK
Comment:

update: way offset, default-points

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v15 v16  
    111111canvas {
    112112    background-color: #ffffea;
    113 }
    114 </pre>
     113    default-points: false;
     114    default-lines: false;
     115}
     116</pre>
     117}}}
     118{{{#!th
     119'''Key'''
     120}}}
     121{{{#!th
     122'''Description'''
     123}}}
     124{{{#!th
     125'''Value Format'''
     126}}}
     127{{{#!th
     128'''Default Value'''
     129}}}
     130|-
     131{{{#!td
     132{{{background-color}}}
     133}}}
     134{{{#!td
     135Specifies the overall background color.
     136}}}
     137{{{#!td
     138''Color''
     139}}}
     140{{{#!td align=center
     141{{{black}}}
     142}}}
     143|-
     144{{{#!td
     145{{{default-points}}}
     146}}}
     147{{{#!td
     148Whether default point style should be added to nodes where no style applies.
     149}}}
     150{{{#!td
     151''Boolean''
     152}}}
     153{{{#!td align=center
     154{{{true}}}
     155}}}
     156|-
     157{{{#!td
     158{{{default-lines}}}
     159}}}
     160{{{#!td
     161Whether default line style should be added to ways where no style applies.
     162}}}
     163{{{#!td
     164''Boolean''
     165}}}
     166{{{#!td align=center
     167{{{true}}}
    115168}}}
    116169}}}
     
    592645|| {{{linejoin}}} || Shape at the line corners || {{{round}}}, {{{miter}}}, {{{bevel}}} ||  {{{round}}}  ||
    593646|| {{{miterlimit}}}                                   || Applies for {{{linejoin: miter}}}. Sets the maximum overshoot when line segments meet at a very small angle || ''Number'' (>= 1.0) ||  10.0  ||
     647|| {{{offset}}} || Move line to the left or right (when looking in way direction). This could be used to draw multiple lanes for one way or mark left and right side of a way differently. || ''Number'' (positive value moves line to the left, negative to the right) ||  0  ||
    594648|| {{{pattern-image}}} || line pattern similar to Mapnik's [http://trac.mapnik.org/wiki/LinePatternSymbolizer LinePatternSymbolizer] || ''Image'' ||  -  ||
    595649|| {{{text-position}}} || set to {{{line}}}, if text should be drawn along the line || {{{line}}}, {{{center}}} ||  -  ||
     
    646700  * {{{eval(concat(tag("first"), "-", tag("second")))}}} - displays the concatenated tags "first" and "second"
    647701}}}
    648 {{{#!td align=left  valign=top
     702{{{#!td align=center  valign=top
    649703-
    650704}}}
     
    654708|| {{{text-offset-y}}} (can also be written as {{{text-offset}}})  || shift the text vertically, positive values shift the text in upwards direction  || ''Number'' ||  0  ||
    655709|| {{{text-halo-radius}}} || size of text background border (to make text visible on background with a similar color) || ''Number'' ||  -  ||
    656 || {{{text-halo-color}}} || color of the text halo || ''Color'' || complement of the text color ||
    657 || {{{text-halo-opacity}}} || transparency for the text halo || ''Opacity'' || 1.0 ||
     710|| {{{text-halo-color}}} || color of the text halo || ''Color'' ||  complement of the text color  ||
     711|| {{{text-halo-opacity}}} || transparency for the text halo || ''Opacity'' ||  1.0 ||
    658712|| {{{font-family}}} || font family || ''String'' ||  "Helvetica"[[br]](JOSM preference "mappaint.font")  ||
    659713|| {{{font-size}}} || font size || ''Number'' ||  8[[br]](JOSM preference "mappaint.fontsize")  ||