Changes between Version 15 and Version 16 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2011-08-15T19:27:09+02:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v15 v16 111 111 canvas { 112 112 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 135 Specifies 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 148 Whether 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 161 Whether default line style should be added to ways where no style applies. 162 }}} 163 {{{#!td 164 ''Boolean'' 165 }}} 166 {{{#!td align=center 167 {{{true}}} 115 168 }}} 116 169 }}} … … 592 645 || {{{linejoin}}} || Shape at the line corners || {{{round}}}, {{{miter}}}, {{{bevel}}} || {{{round}}} || 593 646 || {{{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 || 594 648 || {{{pattern-image}}} || line pattern similar to Mapnik's [http://trac.mapnik.org/wiki/LinePatternSymbolizer LinePatternSymbolizer] || ''Image'' || - || 595 649 || {{{text-position}}} || set to {{{line}}}, if text should be drawn along the line || {{{line}}}, {{{center}}} || - || … … 646 700 * {{{eval(concat(tag("first"), "-", tag("second")))}}} - displays the concatenated tags "first" and "second" 647 701 }}} 648 {{{#!td align= leftvalign=top702 {{{#!td align=center valign=top 649 703 - 650 704 }}} … … 654 708 || {{{text-offset-y}}} (can also be written as {{{text-offset}}}) || shift the text vertically, positive values shift the text in upwards direction || ''Number'' || 0 || 655 709 || {{{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 || 658 712 || {{{font-family}}} || font family || ''String'' || "Helvetica"[[br]](JOSM preference "mappaint.font") || 659 713 || {{{font-size}}} || font size || ''Number'' || 8[[br]](JOSM preference "mappaint.fontsize") ||
